ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示

/doc/efuns/command

HOME :: doc :: efuns :: command

     ccccoooommmmmmmmaaaannnndddd((((3333))))             MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))              ccccoooommmmmmmmaaaannnndddd((((3333))))

     NNNNAAAAMMMMEEEE
          command() - execute a command as if given by the object

     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
          int command( string str, object ob );

     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
          Execute `str' for object `ob', or this_object() if `ob' is
          omitted.  Note that the usability of the second argument is
          determined by the local administrator and will usually not
          be available, in which case an error will result.  In case
          of failure, 0 is returned, otherwise a numeric value is
          returned, which is the LPC "evaluation cost" of the command.
          Bigger numbers mean higher cost, but the whole scale is
          subjective and unreliable.

     SSSSEEEEEEEE AAAALLLLSSSSOOOO
          add_action(3), enable_commands(3)

     Page 1                                          (printed 3/16/95)

HOME :: doc :: efuns :: command