> Couldn't I do something like....

As Jeremy said, ROM doesn't work that way.

Now, you could have one command process and display the list,
and another command delete the characters. But after you enter
a command ROM executes that command, then waits for another command,
not an argument. If your state is CON_PLAYING, the only input you
can send the mud is as an argument to a command, because the code
looks at what you type, and if the first word doesn't match a command
in the command_table or a social, it goes "Huh?" (interp.c 460).

You may be thinking of the behavior of the "nanny", which handles
player creation before players actually log in. Or Erwin's board,
which takes you out of the game while you're writing your post.
Both of these use "con states" written on the player, and a long
switch construction which keeps looping back on itself using the
state to know which question comes next. After a proper response,
your state is changed to the next question.

Take a look at do_nanny in comm.c


Sandi

Reply via email to