query_verb

skylib_fluffos_v3/mudlib/doc/driver/efuns/parsing/query_verb · 545 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.\"return the name of the current command
.DT
query_verb
$MUDNAME$ driver help
query_verb

.SH Name
.SI 5
query_verb() - return the name of the command currently being executed
.EI

.SH Synopsis
.SI 5
string query_verb( void );
.EI

.SH Description
.SP 5 5
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.
.EP

.SH See also
.SI 5
add_action()
.EI

Site Stats

Snippets: 1791
Codebases: 571