userd
dgd/mud/doc/kernel/hook/userd · 721 B
From the archive dgd-1.2p4.tar.gz
Download the archive « Back to the archive contents
void set_telnet_manager(object telnetd)
void set_binary_manager(object binaryd)
Install a manager for telnet/binary connections, in which the following
functions will be called:
* object select(string str)
Return a user object, selected by the argument string, which is the
first line of input on that connection.
* int query_timeout(object connection)
Return a timeout, after which the given connection is closed if no
user object has been associated with it yet. If the timeout is -1,
the connection is closed immediately.
* string query_banner(object connection)
Return a login banner for the given connection. Nil can be returned to
indicate that no banner should be shown at all.