enable_commands(3)    LPC 系統函數    enable_commands(3)

名稱
     enable_commands() - 允許生物使用玩家的命令

語法
     void enable_commands( void );

DESRIPTION
     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.
     本函數讓 this_object() 就像生物一樣, 允許

注意
     不要在 create() 之外呼叫此函數, 否則會發生意想不到的錯誤.

請參考
     this_object(3),   living(3),   add_action(3),    command(3),
     catch_tell(4), say(3), create(4)

MudOS                Last change: 5 Sep 1994                    1

