# force_input() and $do_command()

Jefferson Dubrule (aq299@freenet.carleton.ca)
Thu, 4 Jul 1996 12:06:50 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    At 01:57 PM 7/2/96 PDT, Joe Shaw wrote:
    >The in-db parsing for this is handled in $do_command(). I ran a few tests:
    >I ran a command by myself, it worked just fine. I connected as a test
    >character and evalled the force_input() line for the exact same command.
    >It worked just fine. Now, I logged out as that character and tried again:
    >No dice.

    Here's a solution:

    Log the guy in!  Before trying to force_input() any of his commands,
    call $network:open("127.0.0.1", $network.port, <player to log in>);

    Then do force_input() on him, and it will work fine.  When you are
    finished, boot_player() him.

    -manta