# force_input() and $do_command()

Kipp the Kidd (mcmudge@mailbox.syr.edu)
Fri, 5 Jul 1996 16:48:01 PDT

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

    At 12:06 PM 7/4/96 PDT, Jefferson Dubrule wrote:
    >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.

    What about non-lambda cores?  What about NPCs?  What does the third argument
    do, and how does it do it?

    - Kipp
    http://radioactivo.com.mx/~paradigm