If it was the wrong command, the parser will continue searching for another command, until one returns true or give error message to player.
For example, there can be a wand and a rod. Both of these objects define add_verb("wave"). One of them will be randomly called first, and it must look at the argument, and match against "wand" or "rod" respectively.
If the second argument (
Always have add_action() called only from an init() routine. The object that
defines commands must be present to the player, either being the player,
being carried by the player, being the room around the player, or being an
object in the same room as the player.
If argument
Never define an action that will call the function exit(), because it is
a special function.
SEE ALSO
query_verb(3)
, add_verb(3)