From the NannyMUD documentation
2000-12-11
NAME
input_to - redirect keyboard input to a functionSYNTAX
void input_to(string func [, int noecho ])DESCRIPTION
With this function it is possible to redirect the keyboard input from a player into a function. The function `func' is then called with the next string from the player that was this_player() at the call of input_to instead of interpreting it as a command. If `noecho' is given, the string is not echoed on the player's screen; this is good for passwords and such.NOTE
This only works for interactive players. This will not work for an npc of any kind.