command

来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 25 行

TXT
25
字号
     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)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?