NAME input_to - redirect keyboard input to a function SYNOPSIS void input_to(string func [, int noecho [, object obj]]) 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. If 'obj' is given, the function is called in that object. Note that you cannot call static functions in the object. NOTA BENE This only works for interactive players. This will not work for an npc of any kind.
Help topics available:
You are guest number 136 since November 2019.
This file was last modified: June 2000.