MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: force_input() and $do_command()



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




Home | Subject Index | Thread Index