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

Documentation Area

Document Path: /doc/w/stat


Command: stat - showing data and status of an object, being or what so ever

Description:
	Shows status of an object, usually used for players and monsters,
	but works also for armours, weapons, drinks, foods, treasures and
	/obj/torch clones, and many others. 

	The argument can either be (search in this order) something you
	carry with you (see 'help numbering), or something that is in your
	room (numbering continued), or a player/wizard (also 'alt_name')
	or another living object somewhere in the game.

	The new 'stat' command simply calls a function show_data() in the
	target object. Most object in the /obj directory above have such
	a function built in.

	If you want to add such a function to objects of your own, create
	such a function, if it inherits some other that already has such
	a function it should first call ::show_data(arg), then show it's
	own data with write() statements, using \t as tabulator character
	(stick to the style ;-)). And in the end close with a 'return 1;',
	or the stat command will complain.

Syntax:
	stat <item>
	stat <player>
	stat <being>

See also:


This page was generated in LPC

Imprint / Impressum