mud/lib/doc/efun/all/query_verb
2020-09-06 05:43:07 -07:00

16 lines
498 B
Plaintext

query_verb - return the name of the command currently being executed
string query_verb();
This efun is only available if NO_ADD_ACTION is not compiled in.
Give the name of the current command, or 0 if not executing from a command.
This function is useful when several commands (verbs) may cause the same
function to execute and it is necessary to determine which verb it was
that invoked the function.
See also:
add_action
Tim Hollebeek Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere