ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/efuns/enable_commands
eeeennnnaaaabbbblllleeee____ccccoooommmmmmmmaaaannnnddddssss((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) eeeennnnaaaabbbblllleeee____ccccoooommmmmmmmaaaannnnddddssss((((3333))))
NNNNAAAAMMMMEEEE
enable_commands() - allow object to use 'player' commands
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
void enable_commands( void );
DDDDEEEESSSSRRRRIIIIPPPPTTTTIIIIOOOONNNN
enable_commands() marks this_object() as a living object,
and allows it to use commands added with add_action() (by
using command()). When enable_commands() is called, the
driver also looks for the local function catch_tell(), and
if found, it will call it every time a message (via say()
for example) is given to the object.
BBBBUUUUGGGGSSSS
Do not call this function in any other place than create()
or strange things will likely occur.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
this_object(3), living(3), add_action(3), command(3),
catch_tell(4), say(3), create(4)
Page 1 (printed 3/16/95)