Manual:DIL Manual/SFB CMD

From DikuMUD Wiki
Jump to navigation Jump to search


SFB_CMD            Command message
  When this flag is set, the program gets activated by all commands (legal
  or illegal) issued by PC's or NPC's. Moving around is also considered a
  command.
  Assume a janitor executes the command '
  Ge all from corpse',
  And Ge interprets to 'get'
  then this will occur in the DIL program:
     'activator'... is a unitptr to the janitor.
     'cmdstr'...... is a string which contains 'get'
     'excmdstr'...... is a string which contains 'ge'
     'excmdstr_case'...... is a string which contains 'Ge'
     'argument'.... will contain 'all from corpse'
     command(CMD_GET) will evaluate to TRUE.


---~---~---~---~---~---~---~---~---