Morgengrauner Dokumentation
Dateipfad: /home/mud/mudlib/doc//efun/remove_actionSYNOPSIS
int remove_action(int|string verb)
int remove_action(int|string verb, object ob)
DESCRIPTION
If is a string: remove the first action defined by the current
object with the given from (default is this_player()).
Return 1 if the action was found and removed, and 0 else.
If is a number: if non-0, remove all actions defined by
the current object from (default is this_player()).
Return the number of actions removed.
HISTORY
Introduced in 3.2.1.
LDMud 3.2.10 added the ability to remove all actions.
SEE ALSO
add_action(E), move_object(E)
zurück zur Übersicht