[Package Index | Mudlib Index | Effect Index]
File /secure/simul_efun/add_command.c
Cotains some simul_efuns.Written by Pinkfish
Method index
Public Functions
These are functions that everyone can access.
.
varargs void add_command(string verb,
string pattern,
function func)
A simul_efun for add_command. This allows you to call add_command without
having to go this_player()->add_command. This will only work on non-living
objects.
- Parameters:
verb - the verb to add
pattern - the pattern associated with the verb
func - the funvction to call on success
- See also:
/global/new_parse->add_command() and help add_command_conversion
.c
void add_failed_mess(mixed mess,
object * indir)
An interface to add_failed_mess. This is added to make life easier,m
you do not need to call this_player()->add_failed_mess() if you are
writing add_command code in a non-living object.