A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/efun/command


Name: command - execute a command in a living

Syntax:
	int command(string str, object ob)

Description:
	Execute 'str' as a command given directly by the living. Any effects
	of the command will apply to the current object. If the second
	optional argument is present, then the command is executed for that
	object.

Return value:
	If the command failed, 0 is returned, else the number of evaluated
	nodes is returned. This is used with the 'measure' wizard command.

Examples:
	command("smile", this_player());

See also:


This page was generated in LPC

Imprint / Impressum