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
	command - execute a command

SYNTAX
	int command(string str)
	int command(string str,object o)

DESCRIPTION
	Execute str as a command given directly by the player. Any effects
	of the command will apply to the current object, or the object give
	as the optional second argument. Return value is 0 for failure.
	Otherwise, a numeric value is returned, which tells the
	evaluation cost. Bigger number means higher cost. The evaluation
	cost is approximately the number of of machine code instructions
	executed.

SEE ALSO
	add_action, enable_commands, disable_commands