lpc4/lib/
lpc4/lib/doc/efun/
lpc4/lib/doc/lfun/
lpc4/lib/doc/operators/
lpc4/lib/doc/simul_efuns/
lpc4/lib/doc/types/
lpc4/lib/etc/
lpc4/lib/include/
lpc4/lib/include/arpa/
lpc4/lib/obj/d/
lpc4/lib/save/
lpc4/lib/secure/
lpc4/lib/std/
lpc4/lib/std/living/
NAME
	add_action - add a command to this_player()
	
SYNTAX
	void add_action(string fun,string command,int priority);
	void add_action(string fun,string command,int priority,mixed extra);
	
DESCRIPTION
	add_action() enables this_player() to use the string command at the
	prompt. If how is zero or not suppied command is sent to sscanf() and
	a matching process is done (if command contains any '%' that is) the
	function fun will then be called with the arguments from the match.
	If how is not zero it will specify that command shall be sent to
	parse_command() instead of sscanf() and it will also specify where
	parse_command() shall look for it's objects.  The optional extra
	argument will be sent to the function after the matching arguments.
	The priority number determines if this action should be tried to
	matched before or after other actions. Higher priority means before
	other add_actions.

SEE ALSO
	remove_action, query_verb, set_this_player