<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.spherecommunity.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xwerswoodx</id>
		<title>SphereWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.spherecommunity.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xwerswoodx"/>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Special:Contributions/Xwerswoodx"/>
		<updated>2026-04-16T19:49:59Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@GetHit&amp;diff=8107</id>
		<title>@GetHit</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@GetHit&amp;diff=8107"/>
				<updated>2024-04-22T19:52:16Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|@GetHit}}&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This trigger fires when a character receives damage.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[Characters]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] being damaged.&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] || The [[Characters|character]] responsible for the damage.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''|| '''  Sphere X only? ''' &lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || IO || The amount of damage being applied. (Before Slayer calulation if applicable)&lt;br /&gt;
|-&lt;br /&gt;
| ARGN2 || IO || The type of damage being applied.&lt;br /&gt;
|-&lt;br /&gt;
| ARGN3 || IO || Hits will be fixed to this amount after the hit if the value is greater than it, default = maxhits.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.ITEMDAMAGECHANCE || IO || Sets the chance for the hitted part of the body (Armor or shield, if any) to be damaged (Default: 40% in Sphere D, 25% in Sphere X).&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.DAMAGEPERCENTPHYSICAL || I || The amount in % of the physical damage received, only set if Elemental Engine is enabled. || X&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.DAMAGEPERCENTFIRE || I || The amount in % of the fire damage received, only set if Elemental Engine is enabled. || X&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.DAMAGEPERCENTCOLD || I || The amount in % of the cold damage received, only set if Elemental Engine is enabled. || X&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.DAMAGEPERCENTPOISON || I || The amount in % of the poison damage received, only set if Elemental Engine is enabled. || X&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.DAMAGEPERCENTENERGY || I || The amount in % of the energy damage received, only set if Elemental Engine is enabled. || X&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.SPELL || I || Display the spell number that damaged the character. || X&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents damage from being applied.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;br /&gt;
[[Category: Characters]]&lt;br /&gt;
[[Category: Combat]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Server&amp;diff=7880</id>
		<title>Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Server&amp;diff=7880"/>
				<updated>2020-05-13T10:33:02Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Server}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
The server object is a global object that can be accessed from any script, by using the SERV reference. The following tables detail the various properties of the server in SphereServer:&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
References return pointers to other objects (e.g. the CHAR.n reference allows you to access the characters that are attached to the account). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]]''.n'' || R || Gets the nth [[Accounts|account]] on the server. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]]''.name'' || R || Gets the [[Accounts|account]] with the specified name.&lt;br /&gt;
|-&lt;br /&gt;
| [[AREA]]''.defname'' || R || Gets the [[Regions|region]] with the specified defname.&lt;br /&gt;
|-&lt;br /&gt;
| [[CHARDEF (Reference)|CHARDEF]]''.defname'' || R || Gets the [[CHARDEF|character definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[DEF]]''.defname'' || R || Gets the value for ''defname''. Def0.defname can also be used similar to tag0 and ctag0.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENT]]''.n'' || R || Gets the nth [[Characters#Clients|client]] on the server. (zero-based)&amp;lt;br /&amp;gt;'''Note:''' The nth client may not be an ingame player character, check &amp;amp;lt;CLIENT.n&amp;amp;gt; first as it returns 1 for ingame clients and 0 for non-player clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]]''.n'' || R || Gets the nth [[GM Pages|GM page]] on the server. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILDSTONES]]''.n'' || R || Gets the nth [[Special Items#Guild.2FTown_Stones|guild stone]] on the server. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[ITEMDEF (Reference)|ITEMDEF]]''.defname'' || R || Gets the [[ITEMDEF|item definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[LASTNEWCHAR]] || R || Gets the last [[Characters|character]] created on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[LASTNEWITEM]] || R || Gets the last [[Items|item]] created on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]]''(x, y, map)''&amp;lt;br /&amp;gt;[[MAP]]''(x, y, z, map)'' || R || Gets the [[Map Points|map point]] for a specified location.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGIONRESOURCE (Reference)|REGIONRESOURCE]]''.defname'' || R || Gets the [[REGIONRESOURCE|region resource definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGIONTYPE (Reference)|REGIONTYPE]]''.defname'' || R || Gets the [[REGIONTYPE|region type definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[ROOM (Reference)|ROOM]]''.defname'' || R || Gets the [[Rooms|room]] with the specified defname.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILL (Reference)|SKILL]]''.defname'' || R || Gets the [[SKILL|skill definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLCLASS (Reference)|SKILLCLASS]]''.defname'' || R || Gets the [[SKILLCLASS|skillclass]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPAWN (Reference)|SPAWN]]''.defname'' || R || Gets the [[SPAWN|spawn group]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELL (Reference)|SPELL]]''.defname'' || R || Gets the [[SPELL|spell definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELL (Reference)|SPELL]]''.n'' || R || Gets the nth [[SPELL|spell definition]], ordered by skill requirements (1-based, ascending).&lt;br /&gt;
|-&lt;br /&gt;
| [[TOWNSTONES]]''.n'' || R || Gets the nth [[Special Items#Guild.2FTown_Stones|town stone]] on the server. (zero-based)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all item properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples. Settings from Sphere.ini can also be accessed from the server object, but they are not listed in this table.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] ADD ''name password'' || W || Creates an account with the specified name and password.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] ADDMD5 ''name hash'' || W || Creates an account with the specified name and MD5 password hash.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] BLOCKED ''days command'' || W || Executes ''command'' on all accounts that have been unused for ''days'' days and are currently blocked.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] JAILED ''days command'' || W || Executes ''command'' on all accounts that have been unused for ''days'' days and are currently jailed.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] UNUSED ''days command'' || W || Executes ''command'' on all accounts that have been unused for ''days'' days.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] UPDATE || W || Saves the accounts to file.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] ''name command'' || W || Executes ''command'' on the account with the specified name.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNTS]] || RW || Gets or sets the number of accounts on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLCLIENTS]] ''command'' || W || Executes ''command'' on all online player characters.&lt;br /&gt;
|-&lt;br /&gt;
| [[B]] ''message'' || W || Broadcasts ''message'' to all clients on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[BLOCKIP]] ''address, time'' || W || Blocks an IP address for ''time'', in tenths of a second (-1 = permanent).&lt;br /&gt;
|-&lt;br /&gt;
| [[CHARS]] || RW || Gets or sets the number of characters on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARLISTS]] ''mask'' || W || Removes all LISTs whose name contains ''mask''.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARVARS]] ''prefix'' || W || Removes all VARs that start with the given prefix.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENTS]] || R || Gets the total number of connected clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONSOLE]] ''command'' || W || Executes ''command'' as if it had been typed directly into the server console.&lt;br /&gt;
|-&lt;br /&gt;
| [[EXPORT]] ''file, flags, distance'' || W || Exports all objects within ''distance'' tiles of SRC to a file. (Flags: 1 = Items, 2 = Characters, 3 = Both)&lt;br /&gt;
|-&lt;br /&gt;
| [[GARBAGE]] || W || Forces an immediate garbage collection (checks for invalid objects and fixes them if possible, or else removes them).&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGES]] || R || Returns the total number of GM pages.&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILDS]] || R || Returns the total number of guild ''and'' town stones.&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILDSTONES]].COUNT || R || Returns the total number of guild stones on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEARALL]] || RW || Gets or sets whether player speech is logged to server console and log file.&lt;br /&gt;
|-&lt;br /&gt;
| [[IMPORT]] ''file, flags, distance'' || W || Imports previously exported items that were within ''distance'' tiles. (Flags: 1 = Items, 2 = Characters, 3 = Both)&lt;br /&gt;
|-&lt;br /&gt;
| [[INFORMATION]] || W || Displays server information to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ITEMS]] || RW || Gets or sets the number of items on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOAD]] ''file'' || W || Loads a script file.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOG]] ''message'' || W || Logs ''message'' to server console and logs.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOOKUPSKILL]] ''skill_name'' || R || Looks up a skill name or key, and returns its skill number.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]]''.map_num.''ALLSECTORS ''command'' || W || Executes ''command'' on all sectors of a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]]''.map_num.''SECTOR.''sector_num command'' || RW || Executes ''command'' on sector ''sector_num'' of a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num'' || R || Returns 1 if ''map_num'' is a valid map number.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.BOUND.X || R || Returns the maximum X coordinate for a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.BOUND.Y || R || Returns the maximum Y coordinate for a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.CENTER.X || R || Returns the central X coordinate of a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.CENTER.Y || R || Returns the central Y coordinate of a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.SECTOR.COLS || R || Returns the number of sector columns on a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.SECTOR.QTY || R || Returns the number of sectors on a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.SECTOR.ROWs || R || Returns the number of sector rows on a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.SECTOR.SIZE || R || Returns the size of the sectors on a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MEM]] || R || Returns the total amount of memory being used, in kilobytes.&lt;br /&gt;
|-&lt;br /&gt;
| [[PRINTLISTS]] ''LOG'' || W || Displays a list of all LISTs to SRC, or the server console.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGEN]]0 || RW || Gets or sets the length of time it takes for characters to regenerate 1 health point, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGEN]]1 || RW || Gets or sets the length of time it takes for characters to regenerate 1 mana point, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGEN]]2 || RW || Gets or sets the length of time it takes for characters to regenerate 1 stamina point, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGEN]]3 || RW || Gets or sets the length of time it takes for characters to lose 1 food point, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESPAWN]] || W || Respawns all dead NPCs (not corpses) in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESTOCK]] || W || Restocks all NPCs in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESTORE]] ''file, account_name, character_name'' || W || Restores a player character from a backup save.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESYNC]] || W || Checks all script files for any changes made since they were last loaded.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTICKS]] || R || Returns the real-world time, as a timestamp.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTICKS]].FORMAT ''timestamp, format'' || R || Returns the real-world timestamp as a formatted datetime string.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTICKS]].FROMTIME ''year, month, day, hour, minutes, seconds'' || R || Returns the specified real-world time, as a timestamp.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTIME]] || R || Returns the real-world time, as a formatted string.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTIME]].FORMAT ''format'' || R || Returns the real-world time, as a formatted string.&lt;br /&gt;
More information : [[Serv.rtime.format]]&lt;br /&gt;
|-&lt;br /&gt;
| [[SAVE]] ''force_immediate'' || W || Begins a world save. If background saving is enabled, ''force_immediate'' can be used to force a foreground save.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAVECOUNT]] || R || Returns the number of world saves that have taken place.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAVESTATICS]] || W || Performs a statics save.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHRINKMEM]] || W || Temporarily reduces memory usage.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHUTDOWN]] ''time'' || W || Schedules a server shutdown in ''time'' minutes.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSCMD]] ''cmd'' || W || Executes ''cmd'' and waits for it to finish executing. Returns &amp;lt;0 if an error occurred. Requires OF_FileCommands.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSSPAWN]] ''cmd'' || W || Executes ''cmd'' and does not wait for the program to finish executing. Returns &amp;lt;0 if an error occurred. Requires OF_FileCommands.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIME]] || R || Returns the total server uptime, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMEUP]] || R || Returns the server uptime, as second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOWNSTONES]].COUNT || R || Returns the total number of town stones on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNBLOCKIP]] ''address'' || W || Unblocks a previously blocked IP address.&lt;br /&gt;
|-&lt;br /&gt;
| [[VARLIST]] ''LOG'' || W || Displays a list of all VARs to SRC, or the server console.&lt;br /&gt;
|-&lt;br /&gt;
| [[VERSION]] || R || Returns the SphereServer version.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Server&amp;diff=7879</id>
		<title>Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Server&amp;diff=7879"/>
				<updated>2020-05-13T10:31:19Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Server}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
The server object is a global object that can be accessed from any script, by using the SERV reference. The following tables detail the various properties of the server in SphereServer:&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
References return pointers to other objects (e.g. the CHAR.n reference allows you to access the characters that are attached to the account). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]]''.n'' || R || Gets the nth [[Accounts|account]] on the server. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]]''.name'' || R || Gets the [[Accounts|account]] with the specified name.&lt;br /&gt;
|-&lt;br /&gt;
| [[AREA]]''.defname'' || R || Gets the [[Regions|region]] with the specified defname.&lt;br /&gt;
|-&lt;br /&gt;
| [[CHARDEF (Reference)|CHARDEF]]''.defname'' || R || Gets the [[CHARDEF|character definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[DEF]]''.defname'' || R || Gets the value for ''defname''. Def0.defname can also be used similar to tag0 and ctag0.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENT]]''.n'' || R || Gets the nth [[Characters#Clients|client]] on the server. (zero-based)&amp;lt;br /&amp;gt;'''Note:''' The nth client may not be an ingame player character, check &amp;amp;lt;CLIENT.n&amp;amp;gt; first as it returns 1 for ingame clients and 0 for non-player clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]]''.n'' || R || Gets the nth [[GM Pages|GM page]] on the server. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILDSTONES]]''.n'' || R || Gets the nth [[Special Items#Guild.2FTown_Stones|guild stone]] on the server. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[ITEMDEF (Reference)|ITEMDEF]]''.defname'' || R || Gets the [[ITEMDEF|item definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[LASTNEWCHAR]] || R || Gets the last [[Characters|character]] created on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[LASTNEWITEM]] || R || Gets the last [[Items|item]] created on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]]''(x, y, map)''&amp;lt;br /&amp;gt;[[MAP]]''(x, y, z, map)'' || R || Gets the [[Map Points|map point]] for a specified location.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGIONRESOURCE (Reference)|REGIONRESOURCE]]''.defname'' || R || Gets the [[REGIONRESOURCE|region resource definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGIONTYPE (Reference)|REGIONTYPE]]''.defname'' || R || Gets the [[REGIONTYPE|region type definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[ROOM (Reference)|ROOM]]''.defname'' || R || Gets the [[Rooms|room]] with the specified defname.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILL (Reference)|SKILL]]''.defname'' || R || Gets the [[SKILL|skill definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLCLASS (Reference)|SKILLCLASS]]''.defname'' || R || Gets the [[SKILLCLASS|skillclass]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPAWN (Reference)|SPAWN]]''.defname'' || R || Gets the [[SPAWN|spawn group]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELL (Reference)|SPELL]]''.defname'' || R || Gets the [[SPELL|spell definition]] for ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELL (Reference)|SPELL]]''.n'' || R || Gets the nth [[SPELL|spell definition]], ordered by skill requirements (1-based, ascending).&lt;br /&gt;
|-&lt;br /&gt;
| [[TOWNSTONES]]''.n'' || R || Gets the nth [[Special Items#Guild.2FTown_Stones|town stone]] on the server. (zero-based)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all item properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples. Settings from Sphere.ini can also be accessed from the server object, but they are not listed in this table.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] ADD ''name password'' || W || Creates an account with the specified name and password.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] ADDMD5 ''name hash'' || W || Creates an account with the specified name and MD5 password hash.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] BLOCKED ''days command'' || W || Executes ''command'' on all accounts that have been unused for ''days'' days and are currently blocked.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] JAILED ''days command'' || W || Executes ''command'' on all accounts that have been unused for ''days'' days and are currently jailed.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] UNUSED ''days command'' || W || Executes ''command'' on all accounts that have been unused for ''days'' days.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] UPDATE || W || Saves the accounts to file.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNT]] ''name command'' || W || Executes ''command'' on the account with the specified name.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNTS]] || RW || Gets or sets the number of accounts on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLCLIENTS]] ''command'' || W || Executes ''command'' on all online player characters.&lt;br /&gt;
|-&lt;br /&gt;
| [[B]] ''message'' || W || Broadcasts ''message'' to all clients on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[BLOCKIP]] ''address, time'' || W || Blocks an IP address for ''time'', in tenths of a second (-1 = permanent).&lt;br /&gt;
|-&lt;br /&gt;
| [[CHARS]] || RW || Gets or sets the number of characters on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARLISTS]] ''mask'' || W || Removes all LISTs whose name contains ''mask''.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARVARS]] ''prefix'' || W || Removes all VARs that start with the given prefix.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENTS]] || R || Gets the total number of connected clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONSOLE]] ''command'' || W || Executes ''command'' as if it had been typed directly into the server console.&lt;br /&gt;
|-&lt;br /&gt;
| [[EXPORT]] ''file, flags, distance'' || W || Exports all objects within ''distance'' tiles of SRC to a file. (Flags: 1 = Items, 2 = Characters, 3 = Both)&lt;br /&gt;
|-&lt;br /&gt;
| [[GARBAGE]] || W || Forces an immediate garbage collection (checks for invalid objects and fixes them if possible, or else removes them).&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGES]] || R || Returns the total number of GM pages.&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILDS]] || R || Returns the total number of guild ''and'' town stones.&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILDSTONES]].COUNT || R || Returns the total number of guild stones on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEARALL]] || RW || Gets or sets whether player speech is logged to server console and log file.&lt;br /&gt;
|-&lt;br /&gt;
| [[IMPORT]] ''file, flags, distance'' || W || Imports previously exported items that were within ''distance'' tiles. (Flags: 1 = Items, 2 = Characters, 3 = Both)&lt;br /&gt;
|-&lt;br /&gt;
| [[INFORMATION]] || W || Displays server information to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ITEMS]] || RW || Gets or sets the number of items on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOAD]] ''file'' || W || Loads a script file.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOG]] ''message'' || W || Logs ''message'' to server console and logs.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOOKUPSKILL]] ''skill_name'' || R || Looks up a skill name or key, and returns its skill number.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]]''.map_num.''ALLSECTORS ''command'' || W || Executes ''command'' on all sectors of a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]]''.map_num.''SECTOR.''sector_num command'' || RW || Executes ''command'' on sector ''sector_num'' of a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num'' || R || Returns 1 if ''map_num'' is a valid map number.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.BOUND.X || R || Returns the maximum X coordinate for a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.BOUND.Y || R || Returns the maximum Y coordinate for a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.CENTER.X || R || Returns the central X coordinate of a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.CENTER.Y || R || Returns the central Y coordinate of a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.SECTOR.COLS || R || Returns the number of sector columns on a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.SECTOR.QTY || R || Returns the number of sectors on a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.SECTOR.ROWs || R || Returns the number of sector rows on a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAPLIST]]''.map_num''.SECTOR.SIZE || R || Returns the size of the sectors on a map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MEM]] || R || Returns the total amount of memory being used, in kilobytes.&lt;br /&gt;
|-&lt;br /&gt;
| [[PRINTLISTS]] ''LOG'' || W || Displays a list of all LISTs to SRC, or the server console.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGEN]]0 || RW || Gets or sets the length of time it takes for characters to regenerate 1 health point, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGEN]]1 || RW || Gets or sets the length of time it takes for characters to regenerate 1 mana point, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGEN]]2 || RW || Gets or sets the length of time it takes for characters to regenerate 1 stamina point, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGEN]]3 || RW || Gets or sets the length of time it takes for characters to lose 1 food point, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESPAWN]] || W || Respawns all dead NPCs (not corpses) in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESTOCK]] || W || Restocks all NPCs in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESTORE]] ''file, account_name, character_name'' || W || Restores a player character from a backup save.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESYNC]] || W || Checks all script files for any changes made since they were last loaded.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTICKS]] || R || Returns the real-world time, as a timestamp.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTICKS]].FORMAT ''timestamp, format'' || R || Returns the real-world timestamp as a formatted datetime string.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTICKS]].FROMTIME ''year, month, day, hour, minutes, seconds'' || R || Returns the specified real-world time, as a timestamp.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTIME]] || R || Returns the real-world time, as a formatted string.&lt;br /&gt;
|-&lt;br /&gt;
| [[RTIME]].FORMAT ''format'' || R || Returns the real-world time, as a formatted string.&lt;br /&gt;
More information : [[Serv.rtime.format]]&lt;br /&gt;
|-&lt;br /&gt;
| [[SAVE]] ''force_immediate'' || W || Begins a world save. If background saving is enabled, ''force_immediate'' can be used to force a foreground save.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAVECOUNT]] || R || Returns the number of world saves that have taken place.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAVESTATICS]] || W || Performs a statics save.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHRINKMEM]] || W || Temporarily reduces memory usage.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHUTDOWN]] ''time'' || W || Schedules a server shutdown in ''time'' minutes.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSCMD]] ''cmd'' || W || Executes ''cmd'' and waits for it to finish executing. Returns &amp;lt;0 if an error occurred. Requires OF_FileCommands.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSSPAWN]] ''cmd'' || W || Executes ''cmd'' and does not wait for the program to finish executing. Returns &amp;lt;0 if an error occurred. Requires OF_FileCommands.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIME]] || R || Returns the total server uptime, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMEUP]] || R || Returns the server uptime, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOWNSTONES]].COUNT || R || Returns the total number of town stones on the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNBLOCKIP]] ''address'' || W || Unblocks a previously blocked IP address.&lt;br /&gt;
|-&lt;br /&gt;
| [[VARLIST]] ''LOG'' || W || Displays a list of all VARs to SRC, or the server console.&lt;br /&gt;
|-&lt;br /&gt;
| [[VERSION]] || R || Returns the SphereServer version.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=TYPEDEF&amp;diff=7878</id>
		<title>TYPEDEF</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=TYPEDEF&amp;diff=7878"/>
				<updated>2020-04-24T10:34:12Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|TYPEDEF}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
Type definitions are the equivalent of [[EVENTS]] that can be attached to [[Items|items]]. There are different properties that can be used to attach a type block to an item or set of items:&lt;br /&gt;
* [[ITEMDEF|item definitions]] via their [[TYPE]] and/or [[TEVENTS]] property.&lt;br /&gt;
* [[Items|items]] via their [[TYPE]] and/or [[EVENTS (Property)|EVENTS]] property.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to handling triggers, type definitions can also be used to define different types of terrain. This can be used to affect the return value of the [[TYPE]] property on [[Map points|map points]], or for some hardcoded types such as t_rock it can be used to define which terrain IDs Sphere should consider to be rock when the mining skill is used.&lt;br /&gt;
&lt;br /&gt;
==Built-in Types==&lt;br /&gt;
&lt;br /&gt;
The built-in types are all listed in the sphere_defs.scp file.  The table below only lists some of the built-in types and it is VERY weak on actual details...so use with care.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! DEFNAME !! Number !! Description&lt;br /&gt;
|- &lt;br /&gt;
| t_normal || 0 || No built-in behavior.&lt;br /&gt;
|- &lt;br /&gt;
| t_container and t_container_locked || 1 and 2 || These types are used for containers.  They leverage the following properties:&lt;br /&gt;
* MORE1 = &amp;quot;ID&amp;quot; from the key that can unlock this item (If the MORE1 of the key matches the MORE1 of the container then they are linked)&lt;br /&gt;
* MORE2 = The lock complexity (how hard it is to pick the lock)&lt;br /&gt;
* MOREX = The trap type (not used yet?)&lt;br /&gt;
* TDATA2 = The gumpID of the container (this is not an ITEMDEF)&lt;br /&gt;
* TDATA3 = The minimum gump size&lt;br /&gt;
* TDATA4 = The maximum gump size&lt;br /&gt;
* LINK = UID of a secondary key?&lt;br /&gt;
|- &lt;br /&gt;
| t_door or t_door_locked || 3 or 4 || This type is used for both unlocked and locked doors.  They leverage the following properties:&lt;br /&gt;
* MORE1 = UID of this door's key (if it has one)&lt;br /&gt;
* TDATA1 = ID for the sound it makes when double clicked&lt;br /&gt;
|- &lt;br /&gt;
| t_key || 5 || This type is used for keys.  It leverages the following properties:&lt;br /&gt;
* MORE1 = &amp;quot;ID&amp;quot; of the item(s) this key can unlock (if the MORE1 of the key matches the MORE1 of the container/door then they are linked)&lt;br /&gt;
* LINK = If this is set to the UID of a &amp;quot;multi&amp;quot; object (like a house) the key can open all doors/containers in that multi?&lt;br /&gt;
'''Note:''' Keys, containers, and doors are interesting. If both a key and a door/container contain the same arbitrary MORE1 value, the key can be used to lock or unlock the door/container.  That action changes the TYPE of the door/container to indicate whether it is locked or not. It also seems like LINK on the key can be set to the UID of a multi so that it can be used to open all doors/containers inside that multi.&lt;br /&gt;
|-&lt;br /&gt;
| t_light_lit || 6 || This type is used for light sources that can be turned onIT_S or off.  It leverages the following properties:&lt;br /&gt;
* MOREY = Number of charges before the item is consumed&lt;br /&gt;
* MOREZ = Type of light pattern it will cast&lt;br /&gt;
|- &lt;br /&gt;
| t_light_out || 7 || This type is used for light sources that can be turned on or off.  It leverages the following properties:&lt;br /&gt;
* MOREY = Number of charges before the item is consumed&lt;br /&gt;
* MOREZ = Type of light pattern it will cast&lt;br /&gt;
|- &lt;br /&gt;
| t_food || 8 || This type is used for edible food.  It leverages the following properties:&lt;br /&gt;
* MORE2 = The ID of the creature that this came from&lt;br /&gt;
* MOREM = Is the amount (0 to 127) of &amp;quot;food units&amp;quot; that will be gained when the item is used (eaten)&lt;br /&gt;
* MOREZ = Is the poison level of the food&lt;br /&gt;
'''Note:''' The following properties may also exist depending on your server version:&lt;br /&gt;
* MOREX = The ID of a spell effect that will be gained when eaten&lt;br /&gt;
* MOREY = The strength of the spell effect&lt;br /&gt;
|- &lt;br /&gt;
| t_food_raw || 9 || This type is used for ''raw'' food.  It leverages the following properties:&lt;br /&gt;
* MORE1 = ID of the item it makes when cooked (the default is i_unused and if defined, it will override TDATA1)&lt;br /&gt;
* MORE2 = The ID of the creature that this came from&lt;br /&gt;
* MOREM = Is the amount (0 to 127) of &amp;quot;food units&amp;quot; that will be gained when the item is used (eaten)&lt;br /&gt;
* MOREZ = Is the poison level of the food&lt;br /&gt;
* TDATA1 = The item ID this cooks into&lt;br /&gt;
'''Note:''' The following properties may also exist depending on your server version:&lt;br /&gt;
* MOREX = The ID of a spell effect that will be gained when eaten&lt;br /&gt;
* MOREY = The strength of the spell effect&lt;br /&gt;
* TDATA2 = The creature ID type that the food came from&lt;br /&gt;
* TDATA3 = The amount of skill required to cook it (did this ever work?)&lt;br /&gt;
|- &lt;br /&gt;
| t_armor || 10 || This type is used for armor.  It leverages the following properties:&lt;br /&gt;
* MORE1L = Max hitpoints&lt;br /&gt;
* MORE1H = Current hitpoints&lt;br /&gt;
* MOREX = Spell effect when worn (for example, setting MOREX=1 causes a permanent Clumsy effect)&lt;br /&gt;
* MOREY = There are two possible effects of setting MOREY:&lt;br /&gt;
*# If MOREX is set, then MOREY is the power/effect of that spell&lt;br /&gt;
*# If the ATTR includes attr_magic, then there is an AR bonus (how is this calculated?)&lt;br /&gt;
'''Note:''' Old versions of sphere stored remaining charges in MORE2, this is no longer true.&lt;br /&gt;
|- &lt;br /&gt;
| t_weapon_mace_smith || 11 || This type is used for macefighting weapons that can also be used by blacksmiths to forge items.  It leverages the following properties:&lt;br /&gt;
* MORE1L = Max hitpoints&lt;br /&gt;
* MORE1H = Current hitpoints&lt;br /&gt;
* MOREY = Attack bonus (percentage), but only if ATTR &amp;amp; attr_magic&lt;br /&gt;
The following overrides can be set on a per item basis:&lt;br /&gt;
* TAG.OVERRIDE.DAMAGETYPE = can be used on a per item basis to override the types of damage this weapon does&lt;br /&gt;
* TAG.OVERRIDE.SOUND_HIT = can be used on a per item basis to override the sound this weapon makes when it hits&lt;br /&gt;
* TAG.OVERRIDE.SOUND_MISS = can be used on a per item basis to override the sound this weapon makes when it misses&lt;br /&gt;
|- &lt;br /&gt;
| t_weapon_mace_sharp || 12 || This type is used for macefighting weapons that have sharp cutting edges.  It leverages the following properties:&lt;br /&gt;
* MORE1L = Max hitpoints&lt;br /&gt;
* MORE1H = Current hitpoints&lt;br /&gt;
* MOREY = Attack bonus (percentage), but only if ATTR &amp;amp; attr_magic&lt;br /&gt;
The following overrides can be set on a per item basis:&lt;br /&gt;
* TAG.OVERRIDE.DAMAGETYPE = can be used on a per item basis to override the types of damage this weapon does&lt;br /&gt;
* TAG.OVERRIDE.SOUND_HIT = can be used on a per item basis to override the sound this weapon makes when it hits&lt;br /&gt;
* TAG.OVERRIDE.SOUND_MISS = can be used on a per item basis to override the sound this weapon makes when it misses&lt;br /&gt;
|- &lt;br /&gt;
| t_weapon_sword || 13 || This type is used for swordsmanship weapons.  It leverages the following properties:&lt;br /&gt;
* MORE1L = Max hitpoints&lt;br /&gt;
* MORE1H = Current hitpoints&lt;br /&gt;
* MOREY = Attack bonus (percentage), but only if ATTR &amp;amp; attr_magic&lt;br /&gt;
The following overrides can be set on a per item basis:&lt;br /&gt;
* TAG.OVERRIDE.DAMAGETYPE = can be used on a per item basis to override the types of damage this weapon does&lt;br /&gt;
* TAG.OVERRIDE.SOUND_HIT = can be used on a per item basis to override the sound this weapon makes when it hits&lt;br /&gt;
* TAG.OVERRIDE.SOUND_MISS = can be used on a per item basis to override the sound this weapon makes when it misses&lt;br /&gt;
|- &lt;br /&gt;
| t_weapon_fence || 14 || This type is used for fencing weapons.  It leverages the following properties:&lt;br /&gt;
* MORE1L = Max hitpoints&lt;br /&gt;
* MORE1H = Current hitpoints&lt;br /&gt;
* MOREY = Attack bonus (percentage), but only if ATTR &amp;amp; attr_magic&lt;br /&gt;
The following overrides can be set on a per item basis:&lt;br /&gt;
* TAG.OVERRIDE.DAMAGETYPE = can be used on a per item basis to override the types of damage this weapon does&lt;br /&gt;
* TAG.OVERRIDE.SOUND_HIT = can be used on a per item basis to override the sound this weapon makes when it hits&lt;br /&gt;
* TAG.OVERRIDE.SOUND_MISS = can be used on a per item basis to override the sound this weapon makes when it misses&lt;br /&gt;
|- &lt;br /&gt;
| t_weapon_bow || 15 || This type is used for archery weapons (bow or crossbow).  It leverages the following properties:&lt;br /&gt;
* MORE1L = Max hitpoints&lt;br /&gt;
* MORE1H = Current hitpoints&lt;br /&gt;
* MOREY = Attack bonus (percentage), but only if ATTR &amp;amp; attr_magic&lt;br /&gt;
* TDATA1 = The sound effect the weapon makes when it shoots&lt;br /&gt;
* TDATA2 = The required strength to wield the weapon&lt;br /&gt;
* TDATA3 = ID of arrow item that will be fired (and must therefore be on the player's person)&lt;br /&gt;
* TDATA4 = ID of the arrow animation (for bows it is usually i_arrow_x, for crossbows, i_xbow_x)&lt;br /&gt;
The following overrides can be set on a per item basis:&lt;br /&gt;
* TAG.OVERRIDE.DAMAGETYPE = to override the types of damage this weapon does&lt;br /&gt;
* TAG.OVERRIDE.SOUND_HIT = to override the sound this weapon makes when it hits&lt;br /&gt;
* TAG.OVERRIDE.SOUND_MISS = to override the sound this weapon makes when it misses&lt;br /&gt;
* AMMOANIMRENDER = to override the rendermode of the ANIM this item uses (yes, no TAGs)&lt;br /&gt;
* AMMOTYPE = to override the type of ammo (TDATA3) this item uses (yes, no TAGs)&lt;br /&gt;
* AMMOANIM = to override the ammo animation (TDATA4) this item uses (yes, no TAGs)&lt;br /&gt;
* AMMOANIMHUE = to override the color of the ammo animation this item uses (yes, no TAGs)&lt;br /&gt;
|- &lt;br /&gt;
| t_wand || 16 || This type is used for magic wands.  It leverages the following properties:&lt;br /&gt;
* MORE1L = the current amount of hitpoints the item has&lt;br /&gt;
* MORE1H = the maximum hitpoints for the item&lt;br /&gt;
* MORE2 = the number of remaining charges (if magical)&lt;br /&gt;
* MOREX = the spell type (if magical)&lt;br /&gt;
* MOREY = the spell strength (0-1000)&lt;br /&gt;
* MOREZ = the poison skill applied (0-100)&lt;br /&gt;
* TDATA2 = Required Strength to equip the wand&lt;br /&gt;
* TDATA3 = ID of the light pattern&lt;br /&gt;
* TDATA4 = A flag to indicate what happens when the light burns out (0=nothing, 1=delete the object). &lt;br /&gt;
|- &lt;br /&gt;
| t_telepad || 17 || This type is used for teleport pads.  It leverages the following properties:&lt;br /&gt;
* MOREP = Coordinates of the point to which you will teleport when you step on the item&lt;br /&gt;
* MORE1 = If set to 1, the teleport pad will only work for players (and their pets)&lt;br /&gt;
* MORE2 = If set to 1, the teleport animation and sound will not be shown to anyone witnessing the teleport&lt;br /&gt;
|- &lt;br /&gt;
| t_switch || 18 || This type is used for switches.  The way these things work is, when used, they trigger @DCLICK on the LINK object.  It leverages the following properties:&lt;br /&gt;
* LINK = UID of item to trigger&lt;br /&gt;
* MORE1 = The item ID of the next state of the switch&lt;br /&gt;
* MOREX = A flag to indicate if this is activated by stepping on it&lt;br /&gt;
|-&lt;br /&gt;
| t_book || 19 || This type is used for books of static or dynamic text.  It leverages the following properties:&lt;br /&gt;
* MORE1L = This can be set to an ID of a book (some default book text is included in the sphere_books.scp file)&lt;br /&gt;
* MORE1H = Some flags that determine book behavior:&lt;br /&gt;
** 0c00: Scripted book&lt;br /&gt;
** 0800: Editable book&lt;br /&gt;
** 08000: ? time stamp ?&lt;br /&gt;
* AUTHOR = The ID of the character that wrote the book&lt;br /&gt;
* BODY.# = The text for each page of the book (starting with page 0)&lt;br /&gt;
'''Note:''' we need more information on those flags...&lt;br /&gt;
|-&lt;br /&gt;
| t_rune || 20 || This type is used for recall runes.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The number of uses left before it wears out&lt;br /&gt;
* MOREP = The coordinates of the marked location&lt;br /&gt;
|-&lt;br /&gt;
| t_booze || 21 || This type is used for alcohol (it causes a drunk effect when double clicked.)  It leverages the following properties:&lt;br /&gt;
* TDATA1 = A flag that indicates whether the container is empty or not.&lt;br /&gt;
|-&lt;br /&gt;
| t_potion || 22 || This type is used for potions.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The potion spell effect that will result when the potion is double clicked&lt;br /&gt;
* MORE2 = The strength of the potion (This has a different effect defending on the spell, usually between 0 and 1000)&lt;br /&gt;
* MOREX = The countdown to explosion (for purple potions)&lt;br /&gt;
* TDATA1 = A flag that indicates whether the container is empty or not&lt;br /&gt;
|-&lt;br /&gt;
| t_fire || 23 || This type is used for fires (and ovens?).  These items can be used to cook food, and they can burn you if stepped on.  It leverages the following properties:&lt;br /&gt;
* TIMER = time until it decays?&lt;br /&gt;
* MORE1 (or MORE2?) = Amount of damage it will cause when stepped on or dclicked&lt;br /&gt;
* MOREZ =  Type of light pattern it will cast&lt;br /&gt;
|-&lt;br /&gt;
| t_clock || 24 || This type is used to tell time (game time, not real time) when double clicked.  The result comes out something like &amp;quot;half past eleven o'clock at night&amp;quot;.  From what I can tell there are no MORE or TDATA modifiers that affect the result.&lt;br /&gt;
|-&lt;br /&gt;
| t_trap and t_trap_active || 25 and 26 || These types are used for traps that are triggered when walked on.  They leverage the following properties:&lt;br /&gt;
* MORE1 = ID of the animation&lt;br /&gt;
* MORE2 = The damage the trap will cause&lt;br /&gt;
* MOREX = The length of time the animation will run&lt;br /&gt;
* MOREY = The length of time the activated trap will idle until reset&lt;br /&gt;
* MOREZ = A flag that indicates if the trap must idle before changing from active to inactive. &lt;br /&gt;
|-&lt;br /&gt;
| t_musical || 27 || This type is used for musical instruments.  It leverages the following properties:&lt;br /&gt;
* TDATA1 = The sound ID to be played if successful&lt;br /&gt;
* TDATA2 = The sound ID to be played if not successful&lt;br /&gt;
|-&lt;br /&gt;
| t_spell || 28 || This type is used for magic spell effects.  It leverages the following properties:&lt;br /&gt;
* MORE1L = The polymorph effect on STR&lt;br /&gt;
* MORE1H = The polymorph effect on DEX&lt;br /&gt;
* MORE2 = The number of charges left&lt;br /&gt;
* MOREX = The spell effect that will result when the item is stepped on&lt;br /&gt;
* MOREY = The strength of the spell (This has a different effect defending on the spell, usually between 0 and 1000)&lt;br /&gt;
* MOREZ = Type of light pattern it will cast&lt;br /&gt;
|-&lt;br /&gt;
| t_gem || 29 || This type is used for gems, and from what I can tell there is no built-in behavior for it.&lt;br /&gt;
|-&lt;br /&gt;
| t_water || 30 || This type is used for water, which means it can be fished in or used to clean used bandages.&lt;br /&gt;
* MORE1 = The regiontype ID that determines what sorts of resources (fish etc) that it can produce.&lt;br /&gt;
|-&lt;br /&gt;
| t_clothing || 31 || This type is used for all cloth based equip-able items.  It is essentially identical to t_armor and t_armor_leather.    It leverages the following properties:&lt;br /&gt;
* MORE1L = Max hitpoints&lt;br /&gt;
* MORE1H = Current hitpoints&lt;br /&gt;
* MOREX = Spell effect when worn (for example, setting MOREX=1 causes a permanent Clumsy effect)&lt;br /&gt;
* MOREY = There are two possible effects of setting MOREY:&lt;br /&gt;
*# If MOREX is set, then MOREY is the power/effect of that spell&lt;br /&gt;
*# If the ATTR includes attr_magic, then there is an AR bonus (how is this calculated?)&lt;br /&gt;
'''Note:''' Old versions of sphere stored remaining charges in MORE2, this is no longer true.&lt;br /&gt;
|-&lt;br /&gt;
| t_scroll || 32 || This type is used for scrolls.  It leverages the following properties:&lt;br /&gt;
* MOREX = ID of the spell to cast when double-clicked&lt;br /&gt;
* MOREY = Power of the spell (equivalent to the EFFECT setting of the spell itself?)&lt;br /&gt;
|- &lt;br /&gt;
| t_carpentry || 33 || This type is used by carpenters to craft items, and from what I can tell there is no built-in behavior for it.&lt;br /&gt;
|- &lt;br /&gt;
| t_spawn_char || 34 || This type is used to spawn NPCs.  Once it spawns its first creature, it will turn red and change its appearance to the ICON of the creature (or appear as a wisp if the spawn is set to use a template.)  It leverages the following properties:&lt;br /&gt;
* AMOUNT = The maximum amount of NPCs the spawner should create&lt;br /&gt;
* MORE1 = The creature ID or spawn template ID for what you want to spawn&lt;br /&gt;
* MORE2 = The current number of creatures spawned from this point&lt;br /&gt;
* MOREX = The minimum time between spawns (in minutes)&lt;br /&gt;
* MOREY = The maximum time between spawns (in minutes)&lt;br /&gt;
* MOREZ = The maximum distance away from the spawn to create the spawned NPC (this is also the maximum wander distance for the NPC)&lt;br /&gt;
'''Note:''' The spawn is considered active if the TIMER has a positive value, and when the timer reaches zero, it is automatically restarted using a random number between MOREX and MOREY.&lt;br /&gt;
|- &lt;br /&gt;
| t_game_piece || 35 || This type is used for game board pieces (checkers, chess, etc).  They cannot be removed from the game, and they have no tile image outside of the game board gump.  It leverages the following properties:&lt;br /&gt;
* TDATA1 = The starting x position for this piece&lt;br /&gt;
* TDATA2 = The starting y position for this piece&lt;br /&gt;
|- &lt;br /&gt;
| t_portculis || 36 || This type is used for portcullis doors that raise and lower when double clicked.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The z height at the lowest setting&lt;br /&gt;
* MORE2 = The z height at the highest setting&lt;br /&gt;
|- &lt;br /&gt;
| t_figurine || 37 || This type is used for shrunk NPCs (essentially magic figurines), that turn into a &amp;quot;pet&amp;quot; creature when double clicked.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The creature ID that will spawn when the item is double clicked.&lt;br /&gt;
* MORE2 = The UID of the off-line creature (in &amp;quot;stable master&amp;quot; inventory)&lt;br /&gt;
* TDATA2 = The required strength to mount the creature (presumably only if it is possible to mount it)&lt;br /&gt;
* TDATA3 = The base creature ID. &lt;br /&gt;
|-&lt;br /&gt;
| t_shrine || 38 || This type is used for shrines.  They will resurrect a ghost when double-clicked by a ghost.&lt;br /&gt;
|- &lt;br /&gt;
| t_moongate || 39 || This type is used for moongates.  When stepped on they teleport the player to another location.  It leverages the following properties:&lt;br /&gt;
* MOREP = The coordinates that the moongate leads to&lt;br /&gt;
* MORE1 = If set to 1, the smoke and sound is supressed&lt;br /&gt;
* MORE2 = If set to 1, NPCs (and pets?) cannot use it&lt;br /&gt;
|- &lt;br /&gt;
| t_chair || 40 || This type is used for any sort of a chair item and it's only purpose is to trigger a sitting animation.&lt;br /&gt;
|-&lt;br /&gt;
| t_forge || 41 || This type is used by blacksmiths to smelt ore....&lt;br /&gt;
|-&lt;br /&gt;
| t_ore || 42 || This type is harvested by miners, and converted by blacksmiths (using a forge) into something else.  It leverages the following properties:&lt;br /&gt;
* TDATA1 = ID of item created when the ore is smelted (usually ingots)&lt;br /&gt;
|- &lt;br /&gt;
| t_log || 43 || This type is a raw material resource usually harvested from trees.&lt;br /&gt;
|-&lt;br /&gt;
| t_tree || 44 || This type is chopped by lumberjacks to get logs.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The regiontype ID that determines what sorts of resources (fish etc) that it can produce.&lt;br /&gt;
* FRUIT = ID of item gathered if double-clicked (usually logs)&lt;br /&gt;
|- &lt;br /&gt;
| t_rock || 45 || This type can be mined for ore.&lt;br /&gt;
* MORE1 = The regiontype ID that determines what sorts of resources (fish etc) that it can produce.&lt;br /&gt;
|-&lt;br /&gt;
| t_carpentry_chop || 46 || A carpentry tool that can be used to craft carpentry objects as well as used to &amp;quot;chop&amp;quot; trees (like a saw?)&lt;br /&gt;
|-&lt;br /&gt;
| t_multi || 47 || Multi part object like house or ship.&lt;br /&gt;
* MORE1 is the UID of the player that created/owns the multi&lt;br /&gt;
|-&lt;br /&gt;
| t_reagent || 48 || Alchemy when clicked ?&lt;br /&gt;
|-&lt;br /&gt;
| t_ship || 49 || This is a ship multi.&lt;br /&gt;
* MORE1 is the UID of the player that created/owns the multi&lt;br /&gt;
* MORE2 contains the speed, anchor flag, direction of movement, and facing direction in each byte respectively&lt;br /&gt;
|-&lt;br /&gt;
| t_ship_plank || 50 || Ship plank for players to get on a boat.&lt;br /&gt;
* TDATA1 = is the itemID of the next open/closed state.&lt;br /&gt;
* MORE1 = the lock code. normally this is the same as the uid (magic lock=non UID)&lt;br /&gt;
* MORE2= 0-1000 = How hard to pick or magic unlock. (conflict with door ?)&lt;br /&gt;
* MOREX = type to become (IT_SHIP_SIDE or IT_SHIP_SIDE_LOCKED)&lt;br /&gt;
|-&lt;br /&gt;
| t_ship_side || 51 || Should extend to make a plank TDATA1 is the itemID of the next open/closed state. &lt;br /&gt;
* MORE1 = the lock code. normally this is the same as the uid (magic lock=non UID)&lt;br /&gt;
* MORE2= 0-1000 = How hard to pick or magic unlock. (conflict with door ?)&lt;br /&gt;
|-&lt;br /&gt;
| t_ship_side_locked || 52 || TDATA1 is the itemID of the next open/closed state. &lt;br /&gt;
* MORE1 = the lock code. normally this is the same as the uid (magic lock=non UID)&lt;br /&gt;
* MORE2= 0-1000 = How hard to pick or magic unlock. (conflict with door ?)&lt;br /&gt;
|-&lt;br /&gt;
| t_ship_tiller || 53 || Tiller man on the ship.&lt;br /&gt;
* MORE1 = the lock code. Normally this is the UID, except if uidLink is set.&lt;br /&gt;
* LINK = If this is set to the UID of a &amp;quot;multi&amp;quot; object (like a house) the key can open all doors/containers in that multi?&lt;br /&gt;
'''Note:''' Keys, containers, and doors are interesting. If both a key and a door/container contain the same arbitrary MORE1 value, the key can be used to lock or unlock the door/container.  That action changes the TYPE of the door/container to indicate whether it is locked or not. It also seems like LINK on the key can be set to the UID of a multi so that it can be used to open all doors/containers inside that multi.&lt;br /&gt;
|-&lt;br /&gt;
| t_eq_trade_window || 54 || Container for the trade window.&lt;br /&gt;
|-&lt;br /&gt;
| t_fish || 55 || Fish can be cut up. Yields 4 * &amp;lt;Amount&amp;gt; when a bladed object is used on it.&lt;br /&gt;
|-&lt;br /&gt;
| t_sign_gump || 56 || This type is used for simple signs (and things like grave stones).  It leverages the following properties:&lt;br /&gt;
* TDATA2 = The gumpID&lt;br /&gt;
* TDATA3 = The minimum gump size&lt;br /&gt;
* TDATA4 = The maximum gump size&lt;br /&gt;
* MORE1 = the lock code. Normally this is the UID, except if uidLink is set.&lt;br /&gt;
* LINK = If this is set to the UID of a &amp;quot;multi&amp;quot; object (like a house) the key can open all doors/containers in that multi?&lt;br /&gt;
'''Note:''' Keys, containers, and doors are interesting. If both a key and a door/container contain the same arbitrary MORE1 value, the key can be used to lock or unlock the door/container.  That action changes the TYPE of the door/container to indicate whether it is locked or not. It also seems like LINK on the key can be set to the UID of a multi so that it can be used to open all doors/containers inside that multi.&lt;br /&gt;
|-&lt;br /&gt;
| t_stone_guild || 57 || This type is used for guild stones.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The alignment of the guild (chaos, neutral, order)&lt;br /&gt;
* MORE2 = The amount of gold in the guild account&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_anim_active            58   // = active anium that will recycle when done.&lt;br /&gt;
 t_sand                   59   // = sand on the beach&lt;br /&gt;
 t_cloth                  60   // = bolt or folded cloth&lt;br /&gt;
 t_hair                   61   //&lt;br /&gt;
 t_beard                  62   // = just for grouping purposes.&lt;br /&gt;
|-&lt;br /&gt;
| t_ingot || 63 || This type is used for ingots (when a blacksmith smelts ore, it turns into ingots.  It leverages the following properties:&lt;br /&gt;
* TDATA1 = The skill required to smelt this&lt;br /&gt;
* TDATA2 = The skill required to get the maximum yield when smelting&lt;br /&gt;
|-&lt;br /&gt;
| t_coin || 64 || This types is used for coins, gold or otherwise.&lt;br /&gt;
|-&lt;br /&gt;
| t_crops || 65 || This type is used to grow plants that likely bear fruit.  Double clicking a t_crop item will harvest the fruit if it is ripe.  It leverages the following properties:&lt;br /&gt;
* MORE1 = Time in seconds before this item will grow to the next stage (this overrides the default server defined number)&lt;br /&gt;
* TDATA1 = Is the ID of the first stage of the crop (the sprout), it is the ID that the crop will be reset to regrow from (0=nothing, which means this plant will not regrow once harvested)&lt;br /&gt;
* TDATA2 = Is the ID of the next stage of the crop (or zero if this is the final mature crop which will bear the fruit)&lt;br /&gt;
* TDATA3 = Is the ID of the fruit that this plant will grow and should only be set on the ''ripe'' plant (0 means the plant is not mature)&lt;br /&gt;
'''Note''' This type has unusual TIMER behavior in that regardless of the ATTR flags, the timer will restart when it reaches zero.&lt;br /&gt;
|-&lt;br /&gt;
| t_drink || 66 || This type is used for non-alcoholic drinks.  It leverages the following properties:&lt;br /&gt;
* TATA1 = A flag that indicates whether the container is empty or not. &lt;br /&gt;
'''Note:''' There is an INI flag OF_DrinkIsFood (0x10000) that, if set, will increase FOOD level when the drink is consumed (like T_FOOD does)&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_anvil                  67   // = for repair.&lt;br /&gt;
 t_port_locked            68   // = this portcullis must be triggered.&lt;br /&gt;
 t_spawn_item             69   // = spawn other items.&lt;br /&gt;
 t_telescope              70   // = big telescope pic.&lt;br /&gt;
|-&lt;br /&gt;
| t_bed || 71 || This type is used to indicate the item is a bed.  I am not sure how it is used exactly, but it leverages the following properties:&lt;br /&gt;
* TDATA1 = The direction it occupies&lt;br /&gt;
|-&lt;br /&gt;
| t_gold || 72 || This type is used to indicate the object is a gold coin and can be used to purchase stuff.&lt;br /&gt;
|-&lt;br /&gt;
| t_map || 73 || This type is used for cartography maps.  It has the following properties:&lt;br /&gt;
* MORE1L = The top coordinate&lt;br /&gt;
* MORE1H = The left coordinate&lt;br /&gt;
* MORE2L = The bottom coordinate&lt;br /&gt;
* MORE2H = The right coordinate&lt;br /&gt;
* MOREZ = A flag that indicates whether the map has pins or not&lt;br /&gt;
* MOREX and MOREY = The coordinates of the pin (I think)&lt;br /&gt;
|-&lt;br /&gt;
| t_eq_memory_obj || 74 || This type is used for character memories, and it really depends on the type of memory to know what each property really means, but here is a relatively good guide:&lt;br /&gt;
* MORE1L = The action type this is a memory for&lt;br /&gt;
* MORE1H = The skill involved&lt;br /&gt;
* MORE2 = The start time of the memory&lt;br /&gt;
* MOREP = The map coordinates at which the memory occurred. &lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_weapon_mace_staff      75   // = staff type of mace. or just other type of mace.&lt;br /&gt;
|-&lt;br /&gt;
| t_eq_horse || 76 || This type is used for equipped horse object.  Essentially it represents a riding horse to the client.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The creature ID&lt;br /&gt;
* MORE2 = The UID of the offline creature (in &amp;quot;stable master&amp;quot; inventory)&lt;br /&gt;
* TDATA2 = The required strength to mount it&lt;br /&gt;
* TDATA3 = The base creature ID&lt;br /&gt;
|-&lt;br /&gt;
| t_comm_crystal || 77 || This type is used for communication crystals.&lt;br /&gt;
|-&lt;br /&gt;
| t_game_board || 78  || This type is used as a container for game pieces (t_game_piece).  It leverages the following properties:&lt;br /&gt;
* MORE1 = The type of pieces to use (0=chess, 1=checkers, 2=none... presumably this is hard-coded)&lt;br /&gt;
* TDATA2 = The gumpID of the container (this is not an ITEMDEF)&lt;br /&gt;
* TDATA3 = The minimum gump size&lt;br /&gt;
* TDATA4 = The maximum gump size&lt;br /&gt;
|-&lt;br /&gt;
| t_trash_can || 79 || This type is used as a trash can container, and it deletes any object placed into it.  It leverages the following properties:&lt;br /&gt;
* TDATA2 = The gumpID of the container (this is not an ITEMDEF)&lt;br /&gt;
* TDATA3 = The minimum gump size&lt;br /&gt;
* TDATA4 = The maximum gump size&lt;br /&gt;
|-&lt;br /&gt;
| t_cannon_muzzle || 80 || This type is used for the business end of the cannon. It leverages the following properties:&lt;br /&gt;
* MORE2 = A mask of what is currently loaded in it. (0 = none, 1=powder, 2=shot)&lt;br /&gt;
|-&lt;br /&gt;
| t_cannon || 81 || This type is used for the cannon control.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| t_cannon_ball || 82 || This is ammo for a t_cannon.&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_armor_leather          83   // = non metallic armor (t_clothing)&lt;br /&gt;
|-&lt;br /&gt;
| t_seed || 84 || This type is used for seeds.  A seed can be created by using a dagger on a fruit (assuming the fruit is setup to have a seed.)  A seed can be planted by double clicking it and targeting the ground (specifically t_dirt items).  It leverages the following properties:&lt;br /&gt;
* TDATA1 = The ID of a t_crop item that will grow the fruit that this seed comes from. 0 is Nothing.&lt;br /&gt;
* TDATA2 = The art asset to use as the seed art asset. A copper coin is default.&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_junk                   85   // = never used&lt;br /&gt;
 t_crystal_ball           86   // = Has no internal use.&lt;br /&gt;
 t_swamp                  87   // = swamp (smelly)&lt;br /&gt;
|-&lt;br /&gt;
| t_message || 88 || This type is used for bulletin board messages.  It leverages the following properties:&lt;br /&gt;
* TDATA2 = The gumpID&lt;br /&gt;
* TDATA3 = The minimum gump size&lt;br /&gt;
* TDATA4 = The maximum gump size&lt;br /&gt;
|-&lt;br /&gt;
| t_reagent_raw || 89 || Freshly grown reagents...not processed yet. A seed can be created by using a dagger on a raw reagent (assuming the raw reagent is setup to have a seed.)  A seed can be planted by double clicking it and targeting the ground (specifically t_dirt items).  It leverages the following properties:&lt;br /&gt;
* TDATA1 = The ID of a t_crop item that will grow the fruit that this seed comes from. 0 is Nothing.&lt;br /&gt;
* TDATA2 = The art asset to use as the seed art asset. A copper coin is default.&lt;br /&gt;
|-&lt;br /&gt;
| t_eq_client_linger || 90 || Change player to npc for a while.&lt;br /&gt;
|-&lt;br /&gt;
| t_snow || 91 || Snow&lt;br /&gt;
|-&lt;br /&gt;
| t_it_stone || 92 || This type is an &amp;quot;item stone&amp;quot; that is used to generate items when the object is double clicked.  It has the following properties:&lt;br /&gt;
* MORE1 = The item or template ID to generate&lt;br /&gt;
* MORE2 = The price (or Plotflags to set?)&lt;br /&gt;
* MOREX = The regen time (0 = instant)&lt;br /&gt;
* MOREY = The total amount to deliver (0 = infinite, 0xFFFF = none left)&lt;br /&gt;
|-&lt;br /&gt;
| t_unused_93 || 93 || This has no use.&lt;br /&gt;
|-&lt;br /&gt;
| t_explosion || 94 ||  This type is used for explosion animations.  It leverages the following properties:&lt;br /&gt;
* MOREX = The damage that the explosion will cause&lt;br /&gt;
* MOREY = The type of damage (fire, magic, etc)&lt;br /&gt;
* MOREZ = The distance range for the damage&lt;br /&gt;
|-&lt;br /&gt;
| t_eq_npc_script || 95 || This type is used to script NPC actions (in the form of a book).  The sphere_defs.scp file says &amp;quot;get rid of this in favor of waiting on m_events&amp;quot; but it may still exist... if so, it leverages the following properties:&lt;br /&gt;
* MORE1 = The same as for other books&lt;br /&gt;
* MORE2L = The current script page&lt;br /&gt;
* MORE2H = The current offset&lt;br /&gt;
* MOREZ = The priority for this script (as a percent, this is the chance they want to &amp;quot;do&amp;quot; this task)&lt;br /&gt;
|-&lt;br /&gt;
| t_web || 96 || Walk on this and transform into some other object.  MORE1 is the amount of hits the web can take.&lt;br /&gt;
|-&lt;br /&gt;
| t_grass || 97 || Can be eaten by grazing animals&lt;br /&gt;
* MORE1 = The regiontype ID that determines what sorts of resources (fish etc) that it can produce.&lt;br /&gt;
|-&lt;br /&gt;
| t_arock || 98 || A rock or boulder. can be thrown by giants.&lt;br /&gt;
|-&lt;br /&gt;
| t_tracker || 99 || Points to a linked object.&lt;br /&gt;
|-&lt;br /&gt;
| t_sound || 100 || This type is used to play sounds.  It uses the following properties:&lt;br /&gt;
* MORE1 = The sound ID&lt;br /&gt;
* MORE2 = A flag to indicate repetition&lt;br /&gt;
|-&lt;br /&gt;
| t_stone_town || 101 || This type is used for town stones.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The alignment of the town (chaos, neutral, order)&lt;br /&gt;
* MORE2 = The amount of gold in the town bank account&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_weapon_mace_crook     102   //&lt;br /&gt;
 t_weapon_mace_pick      103   //&lt;br /&gt;
 t_leather               104   // = leather or skins of some sort.(not wearable)&lt;br /&gt;
 t_ship_other            105   // = some other part of a ship.&lt;br /&gt;
|-&lt;br /&gt;
| t_bboard || 106 || This type is a bulleting board container that holds t_message items.  It leverages the following properties:&lt;br /&gt;
* TDATA2 = The gumpID of the container&lt;br /&gt;
* TDATA3 = The minimum gump size&lt;br /&gt;
* TDATA4 = The maximum gump size&lt;br /&gt;
|-&lt;br /&gt;
| t_spellbook || 107 || This type is used for the Magery spellbook.  It leverages the following properties:&lt;br /&gt;
* MORE1 = A bit mask of available spells in circles 0-4, so to add all those spells: set MORE1=0ffffffff&lt;br /&gt;
* MORE2 = A bit mask of available spells in circles 5-8, so to add all those spells: set MORE2=0ffffffff&lt;br /&gt;
'''Note:''' In older sphere versions, MOREX, MOREY, and MOREZ could be set to add additional spells (necro, etc), but recently these concepts may have been removed... same with these TDATA settings:&lt;br /&gt;
* TDATA2 = Required Strength to equip the book&lt;br /&gt;
* TDATA3 = Type of light pattern it will cast&lt;br /&gt;
* TDATA4 = A flag to indicate what happens when the light burns out (0=nothing, 1=delete the object)&lt;br /&gt;
|-&lt;br /&gt;
| t_corpse || 108 || This type is a container used for all dead corpses.  It leverages the following properties:&lt;br /&gt;
* &amp;lt;s&amp;gt;MORE1 = The time of death&amp;lt;/s&amp;gt; TIMESTAMP seems to hold the time of death.&lt;br /&gt;
* MORE1 = Corpse is already carved? (0=not carved, 1=carved) &lt;br /&gt;
* MORE2 = The UID of the individual character that landed the killing blow&lt;br /&gt;
* MOREX &amp;amp; MOREY = Combined, these make up a single DWORD which specifies what type of creature this was&lt;br /&gt;
* MOREZ = The direction it is facing&lt;br /&gt;
* TDATA2 = The gumpID of the container&lt;br /&gt;
* TDATA3 = The minimum gump size&lt;br /&gt;
* TDATA4 = The maximum gump size&lt;br /&gt;
There are two special TAGs for corpses:&lt;br /&gt;
* TAG.BLOOD = This is the number of times you can carve the corpse and cause blood to come out (default 5)&lt;br /&gt;
* TAG.MAXBLOOD = Not certain about this one, but it is likely related... perhaps it is set on the CHARDEF?&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_track_item            109   // - track a id or type of item.&lt;br /&gt;
 t_track_char            110   // = track a char or range of char id's&lt;br /&gt;
 t_weapon_arrow          111   //&lt;br /&gt;
 t_weapon_bolt           112   //&lt;br /&gt;
 t_eq_vendor_box         113   // = an equipped vendor box&lt;br /&gt;
|-&lt;br /&gt;
| t_eq_bank_box || 114 || This type is a container that is used for the character bank.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The amount of gold in the account (is this still true?)&lt;br /&gt;
* MORE2 = The amount to restock to (for NPCs vendors who can buy stuff from players?)&lt;br /&gt;
* MOREP = The location in the world (x, y, and z) where the bank box was opened&lt;br /&gt;
* TDATA2 = The gumpID for the bank box container&lt;br /&gt;
* TDATA3 = The minimum gump size&lt;br /&gt;
* TDATA4 = the maximum gump size&lt;br /&gt;
|-&lt;br /&gt;
| t_deed || 115 || This type is used to create something else when double clicked.  It is perhaps the best solution for a player to place a ''multi'' part item like a house.  When double clicked, it will prompt for a target location.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The ID of the item that will be created at the target location&lt;br /&gt;
* MORE2 = The previous key ID (ideally this is set when a house or ship are re-deeded so that all the existing keys will still work)&lt;br /&gt;
|-&lt;br /&gt;
| t_loom || 116 || This type of device is used by weavers who turn wool or thread into bolts of cloth.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The ID of the currently loaded resource (wool or cotton/flax) that is being woven&lt;br /&gt;
* MORE2 = The amount of resources currently in the loom&lt;br /&gt;
|-&lt;br /&gt;
| t_bee_hive || 117 || This type is used for beehives.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The amount of honey which has accumulated in the hive&lt;br /&gt;
|-&lt;br /&gt;
| t_archery_butte || 118 || This type is used for practice archery targets.  When double clicked, the target will first check if you have an archery weapon equipped and if so, it will return some ammo.  It leverages the following properties:&lt;br /&gt;
* MORE1 = The ID for the type of ammo currently stuck in the target&lt;br /&gt;
* MORE2 = The amount of items stuck in the target&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_eq_murder_count       119   // = my murder count flag.  MORE1 contains the amount of time before it expires. &lt;br /&gt;
 t_eq_stuck              120   // we are stuck in a web&lt;br /&gt;
 t_trap_inactive         121   //  = a safe trap.&lt;br /&gt;
 //t_unused_122          122&lt;br /&gt;
 t_bandage               123   //  = can be used for healing.&lt;br /&gt;
 t_campfire              124   //  = this is a fire but a small one.&lt;br /&gt;
 t_map_blank             125&lt;br /&gt;
 t_spy_glass             126&lt;br /&gt;
 t_sextant               127&lt;br /&gt;
 t_scroll_blank          128&lt;br /&gt;
|-&lt;br /&gt;
| t_fruit || 129 || This type is used for fruit.  When double clicked, fruit will be eaten.  Fruit can be grown from crops (t_crop).  It leverages the following properties:&lt;br /&gt;
* TDATA1 = The ID of a t_crop item that this fruit comes from (If not set, this fruit may not have a seed, use zero to be certain)&lt;br /&gt;
* MOREM = Is the amount (0 to 127) of &amp;quot;food units&amp;quot; that will be gained when the item is used (eaten)&lt;br /&gt;
* MOREZ = Is the poison level of the fruit&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_water_wash            130   // water that will not contain fish. (for washing or drinking)  TDATA1 is a flag that indicates whether the container is empty or not &lt;br /&gt;
 t_weapon_axe            131   // not the same as a sword. but uses swordsmanship skill&lt;br /&gt;
|-&lt;br /&gt;
| t_weapon_xbow || 132 || This type is used for crossbow weapons.  It is essentially identical to t_weapon_bow.&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_spellicon             133&lt;br /&gt;
 t_door_open             134&lt;br /&gt;
 t_meat_raw              135   // just a meaty part of a corpse. (uncooked meat)&lt;br /&gt;
 t_garbage               136&lt;br /&gt;
|-&lt;br /&gt;
| t_keyring || 137 || This type is a container used to store keys.  It leverages the following properties:&lt;br /&gt;
* TDATA2 = The gumpID&lt;br /&gt;
* TDATA3 = The minimum gump size&lt;br /&gt;
* TDATA4 = The maximum gump size&lt;br /&gt;
|-&lt;br /&gt;
| t_table || 138 || doesn't really do anything.&lt;br /&gt;
|-&lt;br /&gt;
| t_floor || 139 || &lt;br /&gt;
|-&lt;br /&gt;
| t_roof || 140 || &lt;br /&gt;
|-&lt;br /&gt;
| t_feather || 141 || a birds feather&lt;br /&gt;
|-&lt;br /&gt;
| t_wool || 142 || wool cut from a sheep.&lt;br /&gt;
|-&lt;br /&gt;
| t_fur || 143 || &lt;br /&gt;
|-&lt;br /&gt;
| t_blood || 144 || blood of some creature&lt;br /&gt;
|-&lt;br /&gt;
| t_foliage || 145 || This type is very similar to t_crops, the difference being the foliage does not disappear when the fruit is harvested.  It leverages the following properties:&lt;br /&gt;
* MORE1 = Time in seconds before this item will grow to the next stage (this overrides the default server defined number)&lt;br /&gt;
* TDATA1 = Is the ID of the first stage of the crop (the sprout)&lt;br /&gt;
* TDATA2 = Is the ID of the next stage of the crop (or zero if this is the final mature crop which will bear the fruit)&lt;br /&gt;
* TDATA3 = Is the ID of the fruit that this plant will grow and should only be set on the ''ripe'' plant&lt;br /&gt;
'''Note''' This type has unusual TIMER behavior in that regardless of the ATTR flags, the timer will restart when it reaches zero.&lt;br /&gt;
|-&lt;br /&gt;
| || ||&lt;br /&gt;
 t_grain                 146&lt;br /&gt;
 t_scissors              147&lt;br /&gt;
 t_thread                148&lt;br /&gt;
 t_yarn                  149&lt;br /&gt;
 t_spinwheel             150&lt;br /&gt;
 t_bandage_blood         151   //  = can't be used for healing.&lt;br /&gt;
 t_fish_pole             152&lt;br /&gt;
 t_shaft                 153   // bolt or arrow.&lt;br /&gt;
 t_lockpick              154&lt;br /&gt;
 t_kindling              155&lt;br /&gt;
 t_train_dummy           156&lt;br /&gt;
 t_train_pickpocket      157&lt;br /&gt;
 t_bedroll               158&lt;br /&gt;
 t_bellows               159&lt;br /&gt;
|-&lt;br /&gt;
| t_hide || 160 ||Made into leather.&lt;br /&gt;
* TDATA1 = Hold ID or DEFNAME of custom cut leather (or any item).&lt;br /&gt;
|-&lt;br /&gt;
| t_cloth_bolt || 161 || A bolt of cloth.&lt;br /&gt;
|-&lt;br /&gt;
| t_board || 162 || Logs are plained into decent lumber&lt;br /&gt;
|-&lt;br /&gt;
| t_pitcher || 163 || A pitcher holding a liquid of some kind.&lt;br /&gt;
*TDATA1 is a flag that indicates whether the container is empty or not. &lt;br /&gt;
|-&lt;br /&gt;
| t_pitcher_empty || 164 || An empty pitcher that can or did hold a liquid.&lt;br /&gt;
* TDATA1 is a flag that indicates whether the container is empty or not. &lt;br /&gt;
|-&lt;br /&gt;
| t_dye_vat || 165 || For dyeing items with.&lt;br /&gt;
|-&lt;br /&gt;
| t_dye || 166 || Dyes to set colors on a t_dye_vat&lt;br /&gt;
|-&lt;br /&gt;
| t_potion_empty || 167 || Empty bottle.&lt;br /&gt;
|-&lt;br /&gt;
| t_mortar || 168 || Alchemists mortar and pestle.&lt;br /&gt;
|-&lt;br /&gt;
| t_hair_dye || 169 || Hair dye.&lt;br /&gt;
|-&lt;br /&gt;
| t_sewing_kit || 170 || Tailoring sewing kit.&lt;br /&gt;
|-&lt;br /&gt;
| t_tinker_tools || 171 || Tinker's tools.&lt;br /&gt;
|-&lt;br /&gt;
| t_wall || 172 || Wall of a structure.&lt;br /&gt;
|-&lt;br /&gt;
| t_window || 173 || Window for a structure.  MOREZ is the light pattern&lt;br /&gt;
|-&lt;br /&gt;
| t_cotton || 174 || Cotton from the plant&lt;br /&gt;
|-&lt;br /&gt;
| t_bone || 175 || A bone from a corpse.&lt;br /&gt;
|-&lt;br /&gt;
| t_eq_script || 176 || This type can have tags and can be equipped.  Possibly used for memory objects that leverage @Equip and @UnEquip triggers.&lt;br /&gt;
|-&lt;br /&gt;
| t_ship_hold || 177 || A ships hold.&lt;br /&gt;
* TDATA2 is the gumpID&lt;br /&gt;
* TDATA3 is the minimum gump size&lt;br /&gt;
* TDATA4 is the maximum gump size&lt;br /&gt;
* MORE1 = the lock code. normally this is the same as the uid (magic lock=non UID)&lt;br /&gt;
* MORE2= 0-1000 = How hard to pick or magic unlock. (conflict with door ?)&lt;br /&gt;
|-&lt;br /&gt;
| t_ship_hold_lock || 178 || A locked ship's hold.&lt;br /&gt;
* MORE1 = the lock code. normally this is the same as the uid (magic lock=non UID)&lt;br /&gt;
* MORE2= 0-1000 = How hard to pick or magic unlock. (conflict with door ?)&lt;br /&gt;
|-&lt;br /&gt;
| t_lava || 179 || &lt;br /&gt;
|-&lt;br /&gt;
| t_shield || 180 || This type is used to indicate the object is an equipable shield.  It has the following properties:&lt;br /&gt;
* MORE1L = The current amount of hitpoints the item has&lt;br /&gt;
* MORE1H = The maximum hitpoints for the item&lt;br /&gt;
* MORE2 = The number of remaining charges (if magical)&lt;br /&gt;
* MOREX = The spell type (if magical)&lt;br /&gt;
* MOREY = The spell strength (0-1000)&lt;br /&gt;
|-&lt;br /&gt;
| t_jewelry || 181 || This type is used for equpable jewelry.  It leverages the following properties:&lt;br /&gt;
* MORE1L = The current amount of hitpoints the item has&lt;br /&gt;
* MORE1H = The maximum hitpoints for the item&lt;br /&gt;
* MORE2 = The number of remaining charges (if magical)&lt;br /&gt;
* MOREX = The spell type (if magical)&lt;br /&gt;
* MOREY = The spell strength (0-1000)&lt;br /&gt;
* TDATA2 = Required Strength to equip the item&lt;br /&gt;
* TDATA3 = Light pattern&lt;br /&gt;
* TDATA4 = A flag to indicate what happens when the light burns out (0=nothing, 1=delete the object)&lt;br /&gt;
|-&lt;br /&gt;
| t_dirt || 182 || This type is used to represent a patch of dirt where something can be planted.&lt;br /&gt;
|- &lt;br /&gt;
| t_script || 183 || This type can have tags, but can NOT be equipped.&lt;br /&gt;
|-&lt;br /&gt;
| t_spellbook_necro || 184 || AOS Necromancy spellbook (should have MOREZ=100 by default)&lt;br /&gt;
|-&lt;br /&gt;
| t_spellbook_pala || 185 || AOS Paladin spellbook (should have MOREZ=200 by default)&lt;br /&gt;
|-&lt;br /&gt;
| t_spellbook_extra || 186 || some spellbook for script purposes (MOREZ=basic offset)&lt;br /&gt;
|-&lt;br /&gt;
| t_spellbook_bushido || 187 || SE Bushido spellbook (should have MOREZ=400 by default)&lt;br /&gt;
|-&lt;br /&gt;
| t_spellbook_ninjitsu || 188 || SE Ninjitsu spellbook (should have MOREZ=500 by default)&lt;br /&gt;
|-&lt;br /&gt;
| t_spellbook_arcanist || 189 || ML Spellweaver spellbook (should have MOREZ=600 by default)&lt;br /&gt;
|-&lt;br /&gt;
| t_multi_custom || 190 || Customisable multi&lt;br /&gt;
|-&lt;br /&gt;
| t_spellbook_mystic || 191 || SA Mysticism spellbook (should have MOREZ=677 by default)&lt;br /&gt;
|-&lt;br /&gt;
| t_hoverover || 192 || Hover-over item (CAN_C_HOVER can hover over blocking items)&lt;br /&gt;
|-&lt;br /&gt;
| t_spellbook_bard || 193 || SA Bard spellbook (should have MOREZ=700 by default)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Scripted TYPEDEFs==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! DEFNAME !! File !! Description&lt;br /&gt;
|-&lt;br /&gt;
| t_advance_gate || ??.scp || MORE = ID of character to change into&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
The syntax for defining a type is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
[TYPEDEF ''defname'']&amp;lt;br /&amp;gt;&lt;br /&gt;
TERRAIN=''id''&amp;lt;br /&amp;gt;&lt;br /&gt;
TERRAIN=''start_id'', ''end_id''&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ON=''trigger_name''&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''script''&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
ON=''trigger_name''&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''script''&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any number of triggers can be handled by one [[TYPEDEF]] definition, however it is not possible to handle the same trigger twice without using multiple definitions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The trigger name can be the name of any [[Items#Triggers|item trigger]]. The return value from the script can affect Sphere's hardcoded behaviour in different ways. See the documentation for the trigger to discover what parameters are passed in to each trigger and what the return values do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If the ''defname'' matches any of Sphere's hardcoded types (see 'typedefs' block in sphere_defs.scp), then the [[TYPEDEF]] can be used to override the behaviours of items of that type.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
//&lt;br /&gt;
// Water definition from default script pack.&lt;br /&gt;
//&lt;br /&gt;
[TYPEDEF t_water]&lt;br /&gt;
TERRAIN = 0a8	0ab&lt;br /&gt;
TERRAIN = 0136	0137&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
//&lt;br /&gt;
// Makes an item speak when double clicked.&lt;br /&gt;
//&lt;br /&gt;
[TYPEDEF t_exampletype]&lt;br /&gt;
ON=@DClick&lt;br /&gt;
  SAY I have been double clicked!&lt;br /&gt;
  RETURN 2&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Definitions]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Server_Functions&amp;diff=7873</id>
		<title>Server Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Server_Functions&amp;diff=7873"/>
				<updated>2018-12-30T00:43:04Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: Created page with &amp;quot;{{Languages|Server_Functions}}  __FORCETOC__  ==Server Functions== This functions are special functions which triggered by Sphere. These can be called &amp;quot;Server Functions&amp;quot;, &amp;quot;Tri...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Server_Functions}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Server Functions==&lt;br /&gt;
This functions are special functions which triggered by Sphere. These can be called &amp;quot;Server Functions&amp;quot;, &amp;quot;Trigger Functions&amp;quot; or &amp;quot;Function Trigger&amp;quot;. Some server functions can be triggered by server on a specific action, some of them can be triggered with specific delays and some of them can be activated from sphere.ini.&lt;br /&gt;
&lt;br /&gt;
Generally server functions located into sphere_serv_triggers.scp.&lt;br /&gt;
&lt;br /&gt;
===f_axis_preload===&lt;br /&gt;
----&lt;br /&gt;
This function is called every time when someone connects from [https://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=1 Axis] to retrieve information. &lt;br /&gt;
&lt;br /&gt;
'''Variables'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ''LOCAL.Account'' || O || Account name.&lt;br /&gt;
|-&lt;br /&gt;
| ''LOCAL.IP'' || O || Ip address.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Return Values'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Block the connection.&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Block the connection and send warning message.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Allow the connection. (Default)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===f_onaccount_connect===&lt;br /&gt;
----&lt;br /&gt;
This function is called when someone trying to connect server before password check.&lt;br /&gt;
&lt;br /&gt;
'''Variables'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ''LOCAL.Account'' || O || Given account name.&lt;br /&gt;
|-&lt;br /&gt;
| ''LOCAL.IP'' || O || Ip address.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Return Values'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Continue to connection. (Default)&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Block the connection and send the wrong password warning.&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Skip password check. (Password check must be done with script)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===f_onaccount_login===&lt;br /&gt;
----&lt;br /&gt;
This function is called when someone connected server with correct password.&lt;br /&gt;
&lt;br /&gt;
'''Variables'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ''ARGS'' || O || Given account name.&lt;br /&gt;
|-&lt;br /&gt;
| ''ARGO'' || O || Client name.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Return Values'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Continue to connection. (Default)&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Block the connection.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===f_onaccount_create===&lt;br /&gt;
----&lt;br /&gt;
This function is called when new account created.&lt;br /&gt;
&lt;br /&gt;
'''Variables'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ''ARGS'' || O || Created account name.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Return Values'''&lt;br /&gt;
----&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Allow account creation. (Default)&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Deny account creation.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@Success_(Spell_Trigger)&amp;diff=7864</id>
		<title>@Success (Spell Trigger)</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@Success_(Spell_Trigger)&amp;diff=7864"/>
				<updated>2017-10-28T19:55:33Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when a character successfully casts a spell.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[SPELL|Spells]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ARGO]] || The source of the spell. Could be the [[Items|item]] used to cast the spell (e.g. a wand or scroll) or the [[Characters|character]] casting the spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] casting the spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] || The [[Characters|character]] casting the spell.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || I || The spell that was cast.&lt;br /&gt;
|-&lt;br /&gt;
| ARGN2 || I || The strength of the spell.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.CREATEOBJECT1 || O || For field spells, overrides the item [[BASEID]] to use for the east-west direction.&lt;br /&gt;
&lt;br /&gt;
For summon spells, overrides the character [[BASEID]] to summon.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.CREATEOBJECT2 || O || For field spells, overrides the item [[BASEID]] to use for the north-south direction.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.FIELDGAUGE || O || For field spells, overrides the default gauge of the field (1).&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.FIELDWIDTH || O || For field spells, overrides the default width of the field (5).&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.AREARADIUS || O || For Area of effect (AoE) spells, overrides the default radius of the effect (4).&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.EFFECTCOLOR || O || For field spells, overrides the color of the fields.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.DURATION || I || Overrides the default duration of spell in tents of second.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.DAMAGETYPE || I || Overrides the default damage type of spell. (Check sphere_defs.scp &amp;quot;dam_flags&amp;quot; definition for damage types)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Aborts casting the spell.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Characters&amp;diff=7833</id>
		<title>Characters</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Characters&amp;diff=7833"/>
				<updated>2017-02-11T02:21:31Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Characters}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
A character can be either a player or an NPC.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[Accounts|ACCOUNT]] || RW || Gets or sets the [[Accounts|account]] that the character belongs to.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that is related to the action the character is performing.&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDCONT]]''.n'' || R || Gets the nth [[Items|item]] equipped to the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDID]]''.item_id'' || R || Gets the first [[Items|item]] found equipped to the character or inside their backpack, with the matching [[BASEID]].&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDLAYER]]''.layer'' || R || Gets the [[Items|item]] that the character has equipped in a specified layer.&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDTYPE]]''.type'' || R || Gets the first [[Items|item]] found equipped to the character or inside their backpack, with the matching [[TYPE]].&lt;br /&gt;
|-&lt;br /&gt;
| [[MEMORYFINDTYPE]]''.memory_flags'' || R || Gets a [[Items|memory item]] with the specified flags.&lt;br /&gt;
|-&lt;br /&gt;
| [[MEMORYFIND]].''object_uid'' || R || Gets a [[Items|memory item]] that is linked to the given object.&lt;br /&gt;
|-&lt;br /&gt;
| [[OWNER]] || R || Gets the character that owns this character. (RW in Experimental Build)&lt;br /&gt;
|-&lt;br /&gt;
| [[SPAWNITEM]] || R || Gets the [[Items|spawn item]] (t_spawn_char) that this character originated from.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEAPON]] || R || Gets the [[Items|weapon]] that the character currently has equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[P]] || RW || Gets or sets the [[Map Points|position]] that the character is at.&lt;br /&gt;
|-&lt;br /&gt;
| [[Regions|REGION]] || R || Gets the [[Regions|region]] that the character is currently located in.&lt;br /&gt;
|-&lt;br /&gt;
| [[Rooms|ROOM]] || R || Gets the [[Rooms|room]] that the character is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[Sectors|SECTOR]] || R || Gets the [[Sectors|sector]] that the character is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOPOBJ]] || R || Gets the top-most [[Characters|character]] or [[Items|item]] in the world that contains the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPEDEF  (Reference)|TYPEDEF]] || R || Gets the [[CHARDEF]] that defines the character.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all character properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples. If an attempt is made to access a property that does not exist on the character, the property from the [[CHARDEF]] will be accessed instead.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[AC]] || R || Returns the character's total defense.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTARG1]] || RW || Gets or sets the character's ACTARG1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTARG2]] || RW || Gets or sets the character's ACTARG2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTARG3]] || RW || Gets or sets the character's ACTARG3 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTDIFF]] || RW || Gets or sets the difficulty of the character's current action.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTION]] || RW || Gets or sets the skill that the character is currently using.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTP]] || RW || Gets or sets the character's ACTP value.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTPRV]] || RW || Gets or sets the character's ACTPRV value.&lt;br /&gt;
|-&lt;br /&gt;
| [[AFK]] || W || Gets or sets whether or not the character is in AFK mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[AGE]] || R || Returns the age of the character since its creation, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLSKILLS]] ''amount'' || W || Sets all of the character's skills to the specified amount.&lt;br /&gt;
|-&lt;br /&gt;
| [[ANIM]] ''anim_id'' || W || Plays the specified animation on the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[ATTACKER]]''.properties'' || R || Gets the number of opponents who have damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[BANK]] ''layer'' || W || Opens the character's bank (or the container at the specified layer) for SRC to view.&lt;br /&gt;
|-&lt;br /&gt;
| [[BANKBALANCE]] || R || Returns the total amount of gold in the character's bankbox.&lt;br /&gt;
|-&lt;br /&gt;
| [[BARK]] ''sound_id'' || W || Plays the specified sound (or the character's generic sound if not specified) to nearby clients from this character.&lt;br /&gt;
|-&lt;br /&gt;
| [[BODY]] || RW || Gets or sets the character's body.&lt;br /&gt;
|-&lt;br /&gt;
| [[BOUNCE]] ''item_uid'' || W || Places a specified item in the character's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[BOW]] || W || Makes the character bow to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[CAN (Characters)|CAN]] || RW || Gets or Sets the Can flags for this chardef.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANCAST]] ''spell_id, check_antimagic'' || R || Returns 1 if the character can cast a given spell, bypassing anti-magic field tests if ''check_antimagic'' set to 0.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANMAKE]] ''item_id'' || R || Returns 1 if the character has the skills and resources to craft a certain item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANMAKESKILL]] ''item_id'' || R || Returns 1 if the character has the skills to craft a certain item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANMOVE]] ''direction'' || R || Returns 1 if the character can move in the given direction.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEE]] || R || Returns 1 if SRC can see the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOS]] || R || Returns 1 if SRC has line of sight to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOSFLAG]] ''flags'' || R || Returns 1 if SRC has line of sight to the character, with flags to modify what tests take place.&lt;br /&gt;
|-&lt;br /&gt;
| [[COLOR]] || RW || Gets or sets the character's hue.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONSUME]] ''resource_list'' || W || Removes specified resources from SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[COUNT]] || R || Returns the number of items equipped to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[CREATE]] || RW || Gets or sets the character's age since creation, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[CRIMINAL]] || W || Sets whether or not the character is a criminal.&lt;br /&gt;
|-&lt;br /&gt;
| [[CURFOLLOWER]] || RW || Gets or sets the number of current followers the character has,&lt;br /&gt;
|-&lt;br /&gt;
| [[DAMAGE]] ''amount, type, source'' || W || Inflicts damage upon the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[DESTROY]] || W || Deletes the object, not stopped by a return 1 in [[@Destroy]]&lt;br /&gt;
|-&lt;br /&gt;
| [[DEX]] || RW || Gets or sets the character's total dexterity.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOG (Function)|DIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOGCLOSE]] ''dialog_id button'' || W || Closes a dialog that SRC has open, simulating a button press.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOGLIST]]''.COUNT'' || R || Gets the number of number of dialogs currently considered to be visible on SRC's screen.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOGLIST]]''.n.ID'' || R || Gets the ID of the nth dialog that SRC has open (zero-based).&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOGLIST]]''.n.COUNT'' || R || Gets the number of instances of nth dialog SRC has open (zero-based).&lt;br /&gt;
|-&lt;br /&gt;
| [[DIR]] || RW || Gets or setes the direction that the character is facing.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISCONNECT]] || W || Disconnects the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISMOUNT]] || W || Dismounts the character from their ride.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPIDDEC]] || R || Gets the ID of the character as a decimal number.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISTANCE]] ''point_or_uid'' || R || Gets the distance between this object and either SRC, a map location or another object.&lt;br /&gt;
|-&lt;br /&gt;
| [[DCLICK]] || W || Double clicks the character, with SRC as the source of the event.&lt;br /&gt;
|-&lt;br /&gt;
| [[DCLICK]] ''object_uid'' || W || Double clicks an object, with the character as SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[DRAWMAP]] ''radius'' || W || Starts the cartography skill, drawing a map of the local area up to ''radius'' tiles.&lt;br /&gt;
|-&lt;br /&gt;
| [[DROP]] ''item_uid'' || W || Drops a specified item at the character's feet.&lt;br /&gt;
|-&lt;br /&gt;
| [[DUPE]] || W || Creates a clone of the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[EDIT]] || W || Displays an editing dialog for the character to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EFFECT]] ''type, item_id, speed, loop, explode, colour, rendermode'' || W || Displays an effect to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EMOTE]] ''message'' || W || Displays a *You see* message to all nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EMOTEACT]] || RW || Gets, sets or toggles whether or not the character will emote all of its actions.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIP]] ''item_uid'' || W || Equips an item to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIPARMOR]] || W || Equips the character with the best armour in their backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIPHALO]] ''timeout'' || W || Equips a halo light to the character, lasting for ''timeout'' tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIPWEAPON]] || W || Equips the character with the best weapon in their backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[EVENTS (Property)|EVENTS]] ''event_defname'' || RW || Gets a list of events attached to the object, or adds or removes an event to or from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[EXP]] || RW || Gets or sets the character's experience points.&lt;br /&gt;
|-&lt;br /&gt;
| [[FACE]] ''object_uid'' || W || Turns the character to face a specified object or SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[FAME]] || RW || Gets or sets the character's fame.&lt;br /&gt;
|-&lt;br /&gt;
| [[FAME]]''.fame_group'' || R || Returns 1 if the character's fame falls within the specified fame group.&lt;br /&gt;
|-&lt;br /&gt;
| [[FCOUNT]] || R || Returns the total number of items equipped to the character, including subitems&lt;br /&gt;
|-&lt;br /&gt;
| [[FLAGS]] || RW || Gets or sets the character's flags.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIX]] || W || Re-aligns the character's Z level to ground level.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIXWEIGHT]] || W || Recalculates the character's total weight.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLIP]] || W || Rotates the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[FONT]] || RW || Gets or sets the character's speech font.&lt;br /&gt;
|-&lt;br /&gt;
| [[FOOD]] || RW || Gets or sets the character's food level.&lt;br /&gt;
|-&lt;br /&gt;
| [[FORGIVE]] || W || Revokes the character's jailed status.&lt;br /&gt;
|-&lt;br /&gt;
| [[GO]] ''location'' || W || Teleports the character to the specified location.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOCHAR]] ''n'' || W || Teleports the character to the nth character in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOCHARID]] ''character_defname'' || W || Teleports the character to the next characer in the world with the specified [[BASEID]]&lt;br /&gt;
|-&lt;br /&gt;
| [[GOCLI]] ''n'' || W || Teleports the character to the nth online player. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[GOITEMID]] ''item_defname'' || W || Teleports the character to the next item in the world with the specified [[BASEID]].&lt;br /&gt;
|-&lt;br /&gt;
| [[GOLD]] || RW || Gets or sets the amount of gold the character has.&lt;br /&gt;
|-&lt;br /&gt;
| [[GONAME]] ''name'' || W || Teleports the character to the next character or item in the world with the specified name, accepts wildcards (*).&lt;br /&gt;
|-&lt;br /&gt;
| [[GOSOCK]] ''socket'' || W || Teleports the character to the online player with the specified socket number.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOTYPE]] ''item_type'' || W || Teleports the character to the next item in the world with the specified [[TYPE]].&lt;br /&gt;
|-&lt;br /&gt;
| [[GOUID]] ''object_uid'' || W || Teleports the character to the object with the specified [[UID]].&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILDABBREV]] || R || Returns the character's guild abbreviation.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEAR]] ''text'' || W || For NPCs, acts as if SRC had spoken the specified ''text''. For players, displays ''text'' as a system message.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEIGHT]] || R || Gets the character's height.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITS]] || RW || Gets or sets the character's hitpoints.&lt;br /&gt;
|-&lt;br /&gt;
| [[HOME]] || RW || Gets or sets the character's home location.&lt;br /&gt;
|-&lt;br /&gt;
| [[HUNGRY]] || W || Displays this character's hunger level to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ID]] || R || Gets the character's ID.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFO]] || W || Displays an information dialog about the character to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[INT]] || RW || Gets or sets the character's total intelligence.&lt;br /&gt;
|-&lt;br /&gt;
| [[INVIS]] || W || Sets whether or not the character is invisible.&lt;br /&gt;
|-&lt;br /&gt;
| [[INVUL]] || W || Sets whether or not the character is invulnerable.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISARMOR]] ''object_uid'' || R || Returns 1 if the object is armour.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCHAR]] || R || Returns 1 if the object is a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCONT]] || R || Returns 1 if the object is a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISDIALOGOPEN]] ''dialog_id'' || R || Returns 1 if SRC has the specified dialog visible on their screen.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to it.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISGM]] || R || Returns 1 if the character is in GM mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISINPARTY]] || R || Returns 1 if the player is in a [[party]].&lt;br /&gt;
|-&lt;br /&gt;
| [[ISITEM]] || R || Returns 1 if the object is an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISMYPET]] || R || Returns 1 if the character belongs to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPE]] ''type, distance, flags'' || R || Returns 1 if a nearby item has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPETOP]] ''type, distance, flags'' || R || Returns a nearby world location of a nearby item which has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISONLINE]] || R || Returns 1 if the character is considered to be online.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISPLAYER]] || R || Returns 1 if the object is a player.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISSTUCK]] || R || Returns 1 if the character cannot walk in any direction.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISTEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to its [[CHARDEF]].&lt;br /&gt;
|-&lt;br /&gt;
| [[ISTIMERF]]''.function'' || R || Returns the number of seconds left on the specified timerf if it exists.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISVENDOR]] || R || Returns 1 if the character is a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISVERTICALSPACE]] ''location'' || R || Returns 1 if the ceiling at the given location is high enough for the character to fit under.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISWEAPON]] ''object_uid'' || R || Returns 1 if the object is a weapon.&lt;br /&gt;
|-&lt;br /&gt;
| [[JAIL]] ''cell'' || W || Sends the character to jail, to a specified jail cell.&lt;br /&gt;
|-&lt;br /&gt;
| [[KARMA]] || RW || Gets or sets the character's karma.&lt;br /&gt;
|-&lt;br /&gt;
| [[KARMA]]''.karma_group'' || R || Returns 1 if the character's karma falls within the specified karma group.&lt;br /&gt;
|-&lt;br /&gt;
| [[KILL]] || W || Kills the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[LEVEL]] || RW || Gets or sets the character's experience level.&lt;br /&gt;
|-&lt;br /&gt;
| [[LIGHT]] || RW || Gets or sets the character's personal light level.&lt;br /&gt;
|-&lt;br /&gt;
| [[LUCK]] || RW || Gets or sets the luck value for the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAKEITEM]] ''item_defname, amount'' ||| W || Begins an attempt to craft the specified quantity of the given item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MANA]] || RW || Gets or sets the character's mana.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]] || RW || Gets or sets the map that this object is located.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXFOLLOWER]] || RW || Gets or sets the maximum number of followers the character can have.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXHITS]] || RW || Gets or sets the character's maximum hitpoints.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXMANA]] || RW || Gets or sets the character's maximum mana.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXSTAM]] || RW || Gets or sets the character's maximum stamina.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXWEIGHT]] || R || Returns the maximum weight that the character can carry.&lt;br /&gt;
|-&lt;br /&gt;
| [[MEMORY]]''.object_uid'' || RW || Gets or sets the memory flags the character has for the given object.&lt;br /&gt;
|-&lt;br /&gt;
| [[MENU (Function)|MENU]] ''menu_defname'' || W || Displays a menu to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGE]] ''message'' || W || Displays a message above this character to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGEUA]] ''colour, talkmode, font, lang_id, message'' || W || Displays a UNICODE message above this character to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODAR]] || RW || Gets or sets a modifier for the character's armour rating.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODDEX]] || RW || Gets or sets the character's dexterity modifier.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODINT]] || RW || Gets or sets the character's intelligence modifier.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODMAXWEIGHT]] || RW || Gets or sets the character's maximum weight modifier.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODSTR]] || RW || Gets or sets the character's strength modifier.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOUNT]] || R || Gets the UID of the character's mount.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOUNT]] ''mount_uid'' || W || Attempts to mount the character on to the specified mount.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVE]] ''direction'' || R || Returns the movement flags for the tile in the given direction (see can_flags in sphere_defs.scp).&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVE]] ''direction, amount''&amp;lt;br /&amp;gt; [[MOVE]] ''x y'' || W || Moves the object relative to its current position.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVENEAR]] ''object_uid, distance'' || W || Moves the character to a random location near another object within a certain distance.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVETO]] ''location'' || W || Moves the character to a specific location.&lt;br /&gt;
|-&lt;br /&gt;
| [[NAME]] || RW || Gets or sets the character's name.&lt;br /&gt;
|-&lt;br /&gt;
| [[NEWBIESKILL]] ''skill_id'' || W || Distributes items that are associated with the specified skill, to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[NEWGOLD]] ''amount'' || W || Generates ''amount'' gold in the character's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[NEWLOOT]] ''item_or_template_defname'' || W || Generates the specified item or template into the character's backpack, providing that they are an NPC that hasn't been summoned.&lt;br /&gt;
|-&lt;br /&gt;
| [[NIGHTSIGHT]] || RW || Gets or sets whether or not the character has nightsight enabled.&lt;br /&gt;
|-&lt;br /&gt;
| [[NOTOGETFLAG]] ''viewer_uid, allow_incognito'' || RW || Gets the character's notoriety flags as seen by the specified viewer.&lt;br /&gt;
|-&lt;br /&gt;
| [[NPC]] || RW || Gets or sets the character's AI type.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEDOWN]] ''amount'' || W || Decreases the character's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEUP]] ''amount'' || W || Increases the characer's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[OBODY]] || RW || Gets or sets the character's original body.&lt;br /&gt;
|-&lt;br /&gt;
| [[OPENPAPERDOLL]] || W || Displays the character's paperdoll to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[OPENPAPERDOLL]] ''character_uid'' || W || Displays a specified character's paperdoll to this character.&lt;br /&gt;
|-&lt;br /&gt;
| [[OSKIN]] || RW || Gets or sets the character's original colour.&lt;br /&gt;
|-&lt;br /&gt;
| [[ODEX]] || RW || Gets or sets the character's base dexterity (without modifiers).&lt;br /&gt;
|-&lt;br /&gt;
| [[OINT]] || RW || Gets or sets the character's base intelligence (without modifiers).&lt;br /&gt;
|-&lt;br /&gt;
| [[OSTR]] || RW || Gets or sets the character's base strength (without modifiers).&lt;br /&gt;
|-&lt;br /&gt;
| [[PACK]] || W || Opens the character's backpack for SRC to view.&lt;br /&gt;
|-&lt;br /&gt;
| [[POISON]] ''strength'' || W || Poisons the character, with the specified poison strength.&lt;br /&gt;
|-&lt;br /&gt;
| [[POLY]] ''character_id'' || W || Begins casting the polymorph spell, with ''character_id'' being the character to turn into.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLE]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLEU]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function, supporting UNICODE response.&lt;br /&gt;
|-&lt;br /&gt;
| [[PRIVSET]] ''plevel'' || W || Sets the PLEVEL of the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[RANGE]] || R || Gets the combat range of the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[RELEASE]] || W || Clears the character's owners.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVE]] ''allow_player_removal'' || W || Deletes the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVEFROMVIEW]] || W || Removes the object from nearby clients' screens.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESCOLD]] || RW || Gets or sets the character's resistance to cold.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESCOUNT]] ''item_defname'' || R || Returns the total amount of a specific item equipped to the character or inside their baackpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESENDTOOLTIP]] ''sendfull'',''usecache'' || W || Forces Sphere to update the tooltips for nearby clients.  If sendfull is 1 the entire tooltip is sent and if 0 then just the header is sent.  If usecache is 1 then the cached version (if found) will be sent and if 0 then the cached version (if found) will be replaced and sent&lt;br /&gt;
|-&lt;br /&gt;
| [[RESENERGY]] || RW || Gets or sets the character's resistance to energy.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESFIRE]] || RW || Gets or sets the character's resistance to fire.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESPOISON]] || RW || Gets or sets the character's resistance to poison.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESTEST]] ''item_list'' || R || Returns 1 if all of the items in the list can be found equipped to the character or inside their backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESURRECT]] ''force'' || W || Resurrects the character. If ''force'' is 1 then usual anti-magic checks are bypasses.&lt;br /&gt;
|-&lt;br /&gt;
| [[SALUTE]] ''object_uid'' || W || Makes the character salute a specified object or SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAY]] ''message'' || W || Makes the character speak a message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYU]] ''message'' || W || Makes the character speak a UTF-8 message&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYUA]] ''colour, talkmode, font, lang_id, text'' || W || MAkes the character speak a UNICODE message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SDIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC, providing that it is not already open.&lt;br /&gt;
|-&lt;br /&gt;
| [[SERIAL]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[SEX]] ''value_male:value_female'' || R || Returns ''value_male'' or ''value_female'' depending on the character's gender.&lt;br /&gt;
|-&lt;br /&gt;
| [[SEXTANTP]] ''location'' || R || Converts the character's location or a specified location into sextant coordinates.&lt;br /&gt;
|-&lt;br /&gt;
| ''skill_name'' || RW || Gets or sets the character's skill level in ''skill_name''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILL (Function)|SKILL]] || W || Begins using a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLCHECK]] ''skill_id, difficulty'' || R || Performs a check for skill success, returning 1 if the attempt was successful.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLBEST]]''.n'' || R || Returns the ID of the character's nth highest skill (0 = Highest)&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLGAIN]] ''skill, difficulty'' || W || Invokes Sphere's skill gain for the specified skill, with the given difficulty (0-100)&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTEST]] ''skill_list'' || R || Returns 1 if the character possess all of the skills in the list.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTOTAL]] || R || Returns the total value of all the character's skills.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTOTAL]] ''skill_group'' || R || Returns the total value of all the character's skills with the specified group flag(s).&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTOTAL]] ''-amount'' || R || Returns the total value of all the character's skills that are under ''amount''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTOTAL]] ''+amount'' || R || Returns the total value of all the character's skills that are over ''amount''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLUSEQUICK]] ''skill_id, difficulty'' || R || Quickly uses a skill, returning 1 if the attempt was successful.&lt;br /&gt;
|-&lt;br /&gt;
| [[SLEEP]] ''fall_forwards'' || W || Makes the character appear to sleep.&lt;br /&gt;
|-&lt;br /&gt;
| [[SOUND]] ''sound_id, repeat'' || W || Plays a sound from this character.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELLEFFECT]] ''spell_id, strength, source_character_uid, source_item_uid'' || W || Causes the character to be affected by a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[STAM]] || RW || Gets or sets the character's stamina.&lt;br /&gt;
|-&lt;br /&gt;
| [[STONE]] || RW || Gets or sets whether or not the character is trapped in stone.&lt;br /&gt;
|-&lt;br /&gt;
| [[STR]] || RW || Gets or sets the character's total strength.&lt;br /&gt;
|-&lt;br /&gt;
| [[SUICIDE]] || W || Forces the character to commit suicide.&lt;br /&gt;
|-&lt;br /&gt;
| [[SUMMONCAGE]] || W || Teleports the character to SRC's, surrounded by a cage multi.&lt;br /&gt;
|-&lt;br /&gt;
| [[SUMMONTO]] || W || Teleports the character to SRC's position.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAG]]''.name'' || RW || Gets or sets the value of a TAG.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index'' || R || Gets a TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.KEY || R || Gets the name of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.VAL || R || Gets the value of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGCOUNT]] || R || Gets the number of TAGs stored on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGLIST]] || W || Outputs a list of the object's TAGs.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGET]]''FGMW'' ''function'' || W || Displays a targeting cursor to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMER]] || RW || Gets or sets the length of time before the item's timer expires, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERD]] || RW || Gets or sets the length of time before the item's timer expires, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''time, function'' || W || Scheduled a function to be executed on this object in ''time'' seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''CLEAR'' || W || Clears all scheduled functions from the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''STOP, function'' || W || Stops the specified function from the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[TITHING]] || RW || Gets or sets the number of tithing points the character has.&lt;br /&gt;
|-&lt;br /&gt;
| [[TITLE]] || RW || Gets or sets the character's title.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOWNABBREV]] || R || Returns the character's town abbreviation.&lt;br /&gt;
|-&lt;br /&gt;
| [[TRIGGER]] ''trig_name, trig_type'' || R || Fires a custom trigger and returns the RETURN value.&lt;br /&gt;
|-&lt;br /&gt;
| [[UID]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNDERWEAR]] || W || Toggles the display of underwear on the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNEQUIP]] ''item_uid'' || W || Unequips an item from the character, placing it in their backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATE]] || W || Updates the state of the character to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATEX]] || W || Updates the state of the character to nearby clients, removing it from their view first to ensure a full refresh.&lt;br /&gt;
|-&lt;br /&gt;
| [[USEITEM]] || W || Double clicks the character, with SRC as the source of the event, without checking for line of sight.&lt;br /&gt;
|-&lt;br /&gt;
| [[USEITEM]] ''object_uid'' || W || Double clicks an object, with the character as SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[VISUALRANGE]] || RW || Gets or sets the character's sight range.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEIGHT]] || R || Gets the weight of the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[WHERE]] || W || Describes the character's location to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[Z]] || R || Gets the Z position of the character.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Triggers==&lt;br /&gt;
Here is a list of all character triggers. Click on the trigger name for more detailed information such as arguments and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[@AfterClick]] || Fires when the object has been single-clicked, just before the overhead name is shown.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Attack]] || Fires when the character begins attacking another.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CallGuards]] || Fires when the character calls for guards.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharAttack]] || Fires when the character is attacked by another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharClick]] || Fires when the character is clicked by another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharClientTooltip]] || Fires when the tooltips are about to be sent to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharDClick]] || Fires when the character double clicks another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharTradeAccepted]] || Fires when another character accepts trade with the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Click]] || Fires when the object has been single-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ClientTooltip]] || Fires when tooltips for this character are about to be sent to a client.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CombatAdd]] || Fires when someone is being added to my attacker list.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CombatDelete]] || Fires when someone is deleted from my attacker list.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CombatEnd]] || Fires when someone is being deleted from my attacker list.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CombatStart]] || Fires when adding first attacker to my list.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuRequest]] || Fires when a client requests the context menu options for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuSelect]] || Fires when a client selects a context menu option for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Create]] || Fires when the object is initially created, before it is placed in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Criminal]] || Fires when the character becomes a criminal.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DClick]] || Fires when the object is double-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Death]] || Fires when the character's hitpoints reaches zero.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DeathCorpse]] || Fires when a corpse is created for the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Destroy]] || Fires when the object is being deleted.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Dismount]] || Fires when the character dismounts their ride.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Dye]] || Fires when the character is about to change their color or the color of an object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Eat]] || Fires when the character eats something.&lt;br /&gt;
|-&lt;br /&gt;
| [[@EnvironChange]] || Fires when the environment changes for the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ExpChange]] || Fires when the character's experience points change.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ExpLevelChange]] || Fires when the character's experience level changes.&lt;br /&gt;
|-&lt;br /&gt;
| [[@FameChange]] || Fires when the character's fame changes.&lt;br /&gt;
|-&lt;br /&gt;
| [[@GetHit]] || Fires when the character receives damage.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Hit]] || Fires when the character hits another in combat.&lt;br /&gt;
|-&lt;br /&gt;
| [[@HitMiss]] || Fires when the character fails to hit another in combat.&lt;br /&gt;
|-&lt;br /&gt;
| [[@HitTry]] || Fires when the character tries to hit another in combat.&lt;br /&gt;
|-&lt;br /&gt;
| [[@HouseDesignCommit]] || Fires when the character commits a new house design.&lt;br /&gt;
|-&lt;br /&gt;
| [[@HouseDesignExit]] || Fires when the character exits house design mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Hunger]] || Fires when the character's food level decreases.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemAfterClick]] || Fires when the character single-clicks an item, just before the overhead name is shown.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemBuy]] || Fires when the character buys an item from a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemClick]] || Fires when the character single-clicks an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemClientTooltip]] || Fires when the tooltips are about to be sent to the client for an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemContextMenuRequest]] || Fires when the character requests the context menu options for an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemContextMenuSelect]] || Fires when the character selects a context menu option for an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemCreate]] || Fires when an item is initially created, before it is placed in the world, and the character is in some way responsible for it.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDamage]] || Fires when the character damages an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDClick]] || Fires when the character double-clicks an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDropOn_Char]] || Fires when the character drops an item on to a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDropOn_Ground]] || Fires when the character drops an item on to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDropOn_Item]] || Fires when the character drops an item on to another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDropOn_Self]] || Fires when the character drops an item inside another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemEquip]] || Fires when the character equips an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemEquipTest]] || Fires when the characer is about to equip an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemPickUp_Ground]] || Fires when the character picks an item up from the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemPickUp_Pack]] || Fires when the character picks an item up from inside a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemPickUp_Self]] || Fires when the character picks an item up from inside another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemPickUp_Stack]] || Fires when the character picks up an item from a stack.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemSell]] || Fires when the character sells an item to a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemSpellEffect]] || Fires when the character hits an item with a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemStep]] || Fires when the character steps on an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemTargOn_Cancel]] || Fires when the character cancels an item's target cursor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemTargOn_Char]] || Fires when the character targets a character with an item's target cursor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemTargOn_Ground]] || Fires when the character targets the ground with an item's target cursor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemTargOn_Item]] || Fires when the character targets an item with an item's target cursor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemToolTip]] || Fires when the character requests old-style tooltips for an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemUnEquip]] || Fires when the character unequips an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Jailed]] || Fires when the character is sent to jail.&lt;br /&gt;
|-&lt;br /&gt;
| [[@KarmaChange]] || Fires when the character's karma changes.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Kill]] || Fires when the character kills another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Login]] || Fires when the character logs in.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Logout]] || Fires when the character logs out.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Mount]] || Fires when the character mounts a ride.&lt;br /&gt;
|-&lt;br /&gt;
| [[@MurderDecay]] || Fires when one of the character's kills is about to decay.&lt;br /&gt;
|-&lt;br /&gt;
| [[@MurderMark]] || Fires when the character is about to gain a kill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NotoSend]] || Fires the status bar/character notoriety color is sent to another players.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCAcceptItem]] || Fires when the NPC receives an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCActFight]] || Fires when the NPC makes a combat decision.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCActFollow]] || Fires when the NPC follows another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCAction]] || Fires when the NPC is about to perform an AI action.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCHearGreeting]] || Fires when the NPC hears a character for the first time.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCHearUnknown]] || Fires when the NPC hears something they don't understand.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCLookAtChar]] || Fires then the NPC looks at a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCLookAtItem]] || Fires when the NPC looks at an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCLostTeleport]] || Fires when the NPC is lost and is about to be teleported back to their [[HOME]].&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCRefuseItem]] || Fires when the NPC refuses an item being given to them.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCRestock]] || Fires when the NPC is having their items restocked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCSeeNewPlayer]] || Fires when the NPC first sees a player.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCSeeWantItem]] || Fires when the NPC sees an item they want.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCSpecialAction]] || Fires when the NPC is about to perform a special action (leaving fire trail, dropping web).&lt;br /&gt;
|-&lt;br /&gt;
| [[@PayGold]] || Fires when the character receives a payment. (Experimental Build Only)&lt;br /&gt;
|-&lt;br /&gt;
| [[@PersonalSpace]] || Fires when the character is stepped on.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PetDesert]] || Fires when the character deserts its owner.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Profile]] || Fires when a player attempts to read the character's profile from the paperdoll.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ReceiveItem]] || Fires when the NPC receives an item from another character, before they decide if they want it or not.&lt;br /&gt;
|-&lt;br /&gt;
| [[@RegenStat]] || Fires when a character is going to regenerate any stat point.&lt;br /&gt;
|-&lt;br /&gt;
| [[@RegionEnter]] || Fires when the character enters a region.&lt;br /&gt;
|-&lt;br /&gt;
| [[@RegionLeave]] || Fires when the character leaves a region.&lt;br /&gt;
|-&lt;br /&gt;
| [[@RegionResourceFound]] || Fires after a resource has been selected and the resource bit has been created.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Rename]] || Fires when the character renames another.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Resurrect]] || Fires when the character is being resurrected.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SeeCrime]] || Fires when the character sees a crime take place.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SeeHidden]] || Fires when this character is about to see a hidden character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillAbort]] || Fires when the character aborts a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillChange]] || Fires when the character's skill level changes.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillFail]] || Fires when the character fails a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillGain]] || Fires when the character has a chance to gain in a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillMakeItem]] || Fires when the character crafts an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillMenu]] || Fires when a skill menu is shown to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillPreStart]] || Fires when the character starts a skill, before any hardcoded action takes place.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillSelect]] || Fires when the character selects a skill on their skill menu.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillStart]] || Fires when the character starts a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillSuccess]] || Fires when the character succeeds at a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillUseQuick]] || Fires when the character quickly uses a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillWait]] || Fires when Sphere wants to check if a character must wait before starting a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellBook]] || Fires when the character opens their spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellCast]] || Fires when the character casts a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellEffect]] || Fires when the character is hit by the effects of a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellFail]] || Fires when the character fails to cast a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellSelect]] || Fires when the character selects a spell to cast.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellSuccess]] || Fires when the character successfully casts a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellTargetCancel]] || Fires when the character cancels target selection for a spell they have just cast.&lt;br /&gt;
|-&lt;br /&gt;
| [[@StatChange]] || Fires when the character's STR, DEX or INT is changed through skill gain.&lt;br /&gt;
|-&lt;br /&gt;
| [[@StepStealth]] || Fires when the character takes a step whilst hidden.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ToggleFlying]] || Fires when a Gargoyle Player is going to Fly or to Land.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ToolTip]] || Fires when a player requests old-style tooltips for this character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TradeAccepted]] || Fires when the character accepts a trade with another player.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TradeClose]] || Fires when a trade window is closed.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TradeCreate]] || Fires when a player begins a trade with another player.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserBugReport]] || Fires when the player submits a bug report.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserChatButton]] || Fires when the player presses the Chat button on the paperdoll.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserExtCmd]] || Fires when the player sends an extended command packet. (used by some macros)&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserExWalkLimit]] || Fires when the player's movement is restricted by the movement speed settings in Sphere.ini&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserGuildButton]] || Fires when the player presses the Guild button on the paperdoll.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserKRToolbar]] || Fires when the player presses a button on the toolbar.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserMailBag]] || Fires when the player drags the mail bag on to another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserQuestArrowClick]] || Fires when the player clicks the quest arrow.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserQuestButton]] || Fires when the player presses the Quest button on the paperdoll.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserSkills]] || Fires when the player opens their skill menu, or a skill update is sent to the player.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserSpecialMove]] || Fires when the player uses a special move.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserStats]] || Fires when the player opens the status window.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserVirtue]] || Fires when the player presses on the Virtue button.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserVirtueInvoke]] || Fires when the player invokes a virtue through macros.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserWarmode]] || Fires when the player switches between war and peace mode.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Players==&lt;br /&gt;
Characters that are attached to an account become Player Characters. In addition to the basic character references, properties and functions they also receive the following:&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILD]] || R || Gets the [[Special Items#Guild.2FTown_Stones|guild stone]] that the player belongs to.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLCLASS (Reference)|SKILLCLASS]] || RW || Gets or sets the player's [[SKILLCLASS|skillclass]].&lt;br /&gt;
|-&lt;br /&gt;
| [[TOWN]] || R || Gets the [[Special Items#Guild.2FTown_Stones|town stone]] that the player belongs to.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all player properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[DEATHS]] || RW || Gets or sets the number of times the player has died.&lt;br /&gt;
|-&lt;br /&gt;
| [[DSPEECH]] ''+/-speech_id'' || RW || Gets a list of attached speech handlers, or adds or removes a speech handler to or from the player.&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]]''.n.DELETE'' || W || Deletes the nth GM page. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]]''.n.HANDLE'' || W || Sets the player as the handler for the nth GM page. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]]''.n.key'' || W || Executes the .page command with ''key'' as the arguments.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISDSPEECH]]''.speech_id'' || R || Returns 1 if the player has the given speech handler attached.&lt;br /&gt;
|-&lt;br /&gt;
| [[KICK]] || W || Disconnects and blocks the player's account.&lt;br /&gt;
|-&lt;br /&gt;
| [[KILLS]] || RW || Gets the number of murders the player has committed.&lt;br /&gt;
|-&lt;br /&gt;
| [[KRTOOLBARSTATUS]] || RW || Gets or sets whether or not the KR toolbar is enabled for this player.&lt;br /&gt;
|-&lt;br /&gt;
| [[LASTUSED]] || RW || Gets the length of time since the player was last attached to a client, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[PASSWORD]] || W || Sets or clears the player's password.&lt;br /&gt;
|-&lt;br /&gt;
| [[PFLAG]] || RW || Gets or sets the player's PFLAG value.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROFILE]] || RW || Gets or sets the text to display on the player's profile.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLLOCK]]''.skill_id'' || RW || Gets or sets the lock state of the player's skill. 0 is Up. 1 is Down. 2 is Locked.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPEEDMODE]] || RW || Gets or sets the speed that the player moves at. (0=Normal, 1=Double Speed on Foot, 2=Always walk, 3=Always Run on Foot/Always Walk on Mount, 4=Can not Walk or Run)&lt;br /&gt;
|-&lt;br /&gt;
| [[STATLOCK]]''.stat_id || RW || Gets or sets the lock state of the player's STR (0), DEX (2) or INT (1). [0 = up, 1 = down, 2 = locked]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==NPCs==&lt;br /&gt;
Characters that are not attached to an account are NPCs and are controlled by Sphere's AI. In addition to the basic character references, properties and functions they also receive the following:&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all NPC properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTPRI]] || RW || Gets or sets the NPC's motivation towards their current action.&lt;br /&gt;
|-&lt;br /&gt;
| [[BUY]] || W || Displays the shop window to SRC, in buy mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[BYE]] || W || Ends the NPC's current action.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLEE]] ''distance'' || W || Begins moving the NPC away from its current location.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOTO]] ''location'' || W || Begins moving the NPC towards the specified location.&lt;br /&gt;
|-&lt;br /&gt;
| [[HIRE]] || W || Begins the hiring process between the NPC and SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[LEAVE]] ''distance'' || W || Begins moving the NPC away from its current location.&lt;br /&gt;
|-&lt;br /&gt;
| [[NPC]] || RW || Gets or sets the NPC's AI type.&lt;br /&gt;
|-&lt;br /&gt;
| [[HOMEDIST]] || RW || Gets or sets the distance that the NPC can wander from its [[HOME]] position.&lt;br /&gt;
|-&lt;br /&gt;
| [[PETRETRIEVE]] || W || Enables SRC to retrieve their stabled pets from the NPC.&lt;br /&gt;
|-&lt;br /&gt;
| [[PETSTABLE]] || W || Enables SRC to stable their pet with the NPC.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESTOCK]] ''force'' || W || Clears all of the NPC's stock, repopulating it when it is next accessed (or immediately if ''force''=1)&lt;br /&gt;
|-&lt;br /&gt;
| [[RUN]] ''direction'' || W || Forces the NPC to run one tile in the specified direction.&lt;br /&gt;
|-&lt;br /&gt;
| [[SELL]] || W || Displays the shop window to SRC, in sell mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHRINK]] || W || Shrinks the NPC into a figurine item.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPEECH]] ''+/-speech_id'' || RW || Gets the list of speech handlers attached to the NPC, or adds or removes a speech handler to or from the NPC.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPEECHCOLOR]] || RW || Gets or sets the colour of the NPC's speech.&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWDAM]] ''min,max'' || RW || Gets or sets a range of damage used for thrown objects. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWDAM]] ''dam'' || RW || Gets or sets the constant damage used for thrown objects. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWOBJ]] ''id'' || RW || Gets or sets the ID of an object to be thrown by NPCs. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWRANGE]] ''min,max'' || RW || Gets or sets the range that an object can be thrown at. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWRANGE]] ''max'' || RW || Gets or sets the range that an object can be thrown at with a default min of 2. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[TRAIN]] ''skill'' || W || Initiates training between the NPC and SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[VENDCAP]] || RW || Gets or sets the amount of gold a vendor will restock to.&lt;br /&gt;
|-&lt;br /&gt;
| [[VENDGOLD]] || RW || Gets or sets the amount of gold a vendor has.&lt;br /&gt;
|-&lt;br /&gt;
| [[WALK]] ''direction'' || W || Forces the NPC to walk one tile in the specified direction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Clients==&lt;br /&gt;
When a client is controlling a character, the following references, properties and functions will be available:&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGEP]] || R || Gets the [[GM Pages|GM page]] that the client is currently handling.&lt;br /&gt;
|-&lt;br /&gt;
| [[HOUSEDESIGN]] || R || Gets the [[Special Items#Customizable Multis|building]] that is currently being designed by the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[PARTY]] || R || Gets the [[Parties|party]] that the client is a member of.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARG]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that the client has targeted.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGP]] || RW || Gets or sets the [[Map Points|location]] that the client has targeted.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGPROP]] || RW || Gets or sets the character whose skills are shown in the client's skill menu.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGPRV]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that the client previously targeted.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all client properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ADD]] ''item_defname'' || W || Prompts the client to target a location to add the specified item at.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDBUFF]] ''icon, cliloc1, cliloc2, time, arg1, arg2, arg3'' || W || Displays a buff icon in the client's buff icon bar.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDCLILOC]] ''cliloc, args'' || W || Adds a cliloc to the tooltip being sent to the client. Only valid in @ClientTooltip triggers.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDCONTEXTENTRY]] ''entry_id, cliloc, flags, colour'' || W || Adds an entry to the context menu being sent to the client. Only valid in @ContextMenuRequest triggers.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLMOVE]] || RW || Gets or sets whether or not the client has ALLMOVE privileges.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLSHOW]] || RW || Gets or sets whether or not the client is able to see disconnected characters.&lt;br /&gt;
|-&lt;br /&gt;
| [[ARROWQUEST]] ''x, y, id'' || W || Displays an arrow on the client's screen that points to the specified world coordinates. If id is supplied multiple arrows can be displayed on the client at once (Newer clients only - 3.x+ clients confirm?).  You can cancel the arrow by passing 0 for x and y and your id.  Using ARROWQUEST without any arguments will cancel arrow with id 0 if present.&lt;br /&gt;
|-&lt;br /&gt;
| [[BADSPAWN]] || W || Teleports the client to the first invalid spawn point in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[BANKSELF]] || W || Opens up the client's bankbox.&lt;br /&gt;
|-&lt;br /&gt;
| [[CAST]] ''spell_id' || W || Begins casting a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[CHARLIST]] || W || Displays the client's character list screen.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARCTAGS]] || W || Removes all of the client's CTAGs.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENTIS3D]] || R || Returns 1 if the client is using the 3D client.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENTISKR]] || R || Returns 1 if the client is using the KR client.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENTVERSION]] || R || Gets the client version the client is using, based on the encryption keys being used (unencrypted clients return 0).&lt;br /&gt;
|-&lt;br /&gt;
| [[CTAG]] || RW || Gets or sets the value of a CTAG.&lt;br /&gt;
|-&lt;br /&gt;
| [[CTAGCOUNT]] || R || Gets the number of CTAGs stored on the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[CTAGLIST]] || W || Displays a list of the client's CTAGs to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[CTAGLIST]] LOG || W || Displays a list of the client's CTAGs on the server console.&lt;br /&gt;
|-&lt;br /&gt;
| [[DEBUG]] || RW || Gets or sets whether or not the client is in debug mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[DETAIL]] || RW || Gets or sets whether or not the client receives additional detail, such as combat messages.&lt;br /&gt;
|-&lt;br /&gt;
| [[EVERBTARG]] ''command'' || W || Prompts the client to enter a command, or arguments to the command if specified. The complete command with arguments is then executed on TARG.&lt;br /&gt;
|-&lt;br /&gt;
| [[EXTRACT]] ''file, template_id'' || W || Extracts static items from a targeted area on the map and saves them into the specified file.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLUSH]] || W || Forces queued network data to be immediately sent to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[GM]] || RW || Gets or sets whether or not the client is in GM mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]] ''ADD message'' || W || Sends a GM page from the client with the specified message, or if no arguments provided will prompt the client for a message.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOTARG]] || W || Teleports the client to their targeted item.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEARALL]] || RW || Gets or sets whether or not the client can hear all player speech regardless of location.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFO]] || W || Displays an information dialog to the client for an object they target.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFORMATION]] || W || Displays server information to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || W || Forces the client to target the object referenced by [[ACT]].&lt;br /&gt;
|-&lt;br /&gt;
| [[LASTEVENT]] || RW || Returns the time when data was last received from the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[LINK]] || W || Allows the client to target two objects to link them together.&lt;br /&gt;
|-&lt;br /&gt;
| [[MENU (Function)|MENU]] ''menu_id'' || W || Displays a menu to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[MIDILIST]] ''music1, music2, ...'' || W || Selects a random music id from the given list and tells the client to play it.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGE]] ''dx, dy, dz'' || W || Allows the client to nudge an area of items by the given coordinates, relative to the items' position.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUKE]] ''command'' || W || Allows the client to execute ''command'' on all items in a targeted area.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUKECHAR]] ''command'' || W || Allows the client to execute ''command'' on all NPCs in a targeted area.&lt;br /&gt;
|-&lt;br /&gt;
| [[PAGE]] || W || Displays the GM page menu to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[PRIVSHOW]] || W || Gets or sets whether or not the client's privilege level should show in their name.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVEBUFF]] ''icon'' || W || Removes a buff icon from the client's buff icon bar.&lt;br /&gt;
|-&lt;br /&gt;
| [[REPAIR]] || W || Prompts the client to target an item for them to repair.&lt;br /&gt;
|-&lt;br /&gt;
| [[REPORTEDCLIVER]] || R || Gets the client version the client is using, based on what it has identified itself as to the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[REPORTEDCLIVER]].FULL || R || Gets the client version the client is using, based on what it has identified itself as to the server, including the 4th digit.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESEND]] || W || Forces a full refresh of the client's screen.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAVE]] ''immediate'' || W || Begins a world save. If background saving is enabled then ''[[SAVE]] 1'' will force a foreground save.&lt;br /&gt;
|-&lt;br /&gt;
| [[SCREENSIZE]] || R || Gets the client's screen size. (width,height)&lt;br /&gt;
|-&lt;br /&gt;
| [[SCREENSIZE]].X || R || Gets the width of the client's screen size.&lt;br /&gt;
|-&lt;br /&gt;
| [[SCREENSIZE]].Y || R || Gets the height of the client's screen size.&lt;br /&gt;
|-&lt;br /&gt;
| [[SCROLL]] ''scroll_id'' || W || Displays a message scroll to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SELF]] || W || Forces the client to target itself.&lt;br /&gt;
|-&lt;br /&gt;
| [[SENDPACKET]] ''data'' || W || Sends a raw data packet to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SET]] ''command'' || W || Prompts the client to target an object to execute ''command'' on.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHOWSKILLS]] || W || Refreshes the client's skills for the skill menu.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLMENU (Function)|SKILLMENU]] ''skillmenu_id'' || W || Displays a skillmenu to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLSELECT]] ''skill_id'' || W || Simulates the client selecting a skill from their skill menu.&lt;br /&gt;
|-&lt;br /&gt;
| [[SUMMON]] ''character_id'' || W || Casts the summon spell, with ''character_id'; being the character to summon.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSMESSAGE]] ''text'' || W || Displays a system message to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSMESSAGELOC]] ''hue, cliloc, args'' || W || Displays a localized system message to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSMESSAGELOCEX]] ''hue, cliloc, flags, affix, args'' || W || Displays a localized system message to the client with affixed text.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSMESSAGEUA]] ''hue, font, mode, language, text'' || W || Displays a UNICODE system message to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGETTEXT]] || RW || Gets or sets the client's target text.&lt;br /&gt;
|-&lt;br /&gt;
| [[TELE]] || W || Casts the teleport spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[TILE]] ''z, item1, item2, ...'' || W || Tiles the ground within a targeted area with the listed items, at the given Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNEXTRACT]] ''file'' || W || Unextracts previously extracted statics, as dynamic items at a targeted location.&lt;br /&gt;
|-&lt;br /&gt;
| [[VERSION]] || W || Displays the server description to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEBLINK]] ''url'' || W || Opens the client's web browser to send them to the specified url.&lt;br /&gt;
|-&lt;br /&gt;
| [[X]]''command'' || W || Prompts the client to target an object to execute ''command'' on.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Characters&amp;diff=7832</id>
		<title>Characters</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Characters&amp;diff=7832"/>
				<updated>2017-02-11T02:21:11Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Characters}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
A character can be either a player or an NPC.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNTS|ACCOUNT]] || RW || Gets or sets the [[Accounts|account]] that the character belongs to.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that is related to the action the character is performing.&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDCONT]]''.n'' || R || Gets the nth [[Items|item]] equipped to the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDID]]''.item_id'' || R || Gets the first [[Items|item]] found equipped to the character or inside their backpack, with the matching [[BASEID]].&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDLAYER]]''.layer'' || R || Gets the [[Items|item]] that the character has equipped in a specified layer.&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDTYPE]]''.type'' || R || Gets the first [[Items|item]] found equipped to the character or inside their backpack, with the matching [[TYPE]].&lt;br /&gt;
|-&lt;br /&gt;
| [[MEMORYFINDTYPE]]''.memory_flags'' || R || Gets a [[Items|memory item]] with the specified flags.&lt;br /&gt;
|-&lt;br /&gt;
| [[MEMORYFIND]].''object_uid'' || R || Gets a [[Items|memory item]] that is linked to the given object.&lt;br /&gt;
|-&lt;br /&gt;
| [[OWNER]] || R || Gets the character that owns this character. (RW in Experimental Build)&lt;br /&gt;
|-&lt;br /&gt;
| [[SPAWNITEM]] || R || Gets the [[Items|spawn item]] (t_spawn_char) that this character originated from.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEAPON]] || R || Gets the [[Items|weapon]] that the character currently has equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[P]] || RW || Gets or sets the [[Map Points|position]] that the character is at.&lt;br /&gt;
|-&lt;br /&gt;
| [[Regions|REGION]] || R || Gets the [[Regions|region]] that the character is currently located in.&lt;br /&gt;
|-&lt;br /&gt;
| [[Rooms|ROOM]] || R || Gets the [[Rooms|room]] that the character is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[Sectors|SECTOR]] || R || Gets the [[Sectors|sector]] that the character is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOPOBJ]] || R || Gets the top-most [[Characters|character]] or [[Items|item]] in the world that contains the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPEDEF  (Reference)|TYPEDEF]] || R || Gets the [[CHARDEF]] that defines the character.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all character properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples. If an attempt is made to access a property that does not exist on the character, the property from the [[CHARDEF]] will be accessed instead.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[AC]] || R || Returns the character's total defense.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTARG1]] || RW || Gets or sets the character's ACTARG1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTARG2]] || RW || Gets or sets the character's ACTARG2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTARG3]] || RW || Gets or sets the character's ACTARG3 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTDIFF]] || RW || Gets or sets the difficulty of the character's current action.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTION]] || RW || Gets or sets the skill that the character is currently using.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTP]] || RW || Gets or sets the character's ACTP value.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTPRV]] || RW || Gets or sets the character's ACTPRV value.&lt;br /&gt;
|-&lt;br /&gt;
| [[AFK]] || W || Gets or sets whether or not the character is in AFK mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[AGE]] || R || Returns the age of the character since its creation, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLSKILLS]] ''amount'' || W || Sets all of the character's skills to the specified amount.&lt;br /&gt;
|-&lt;br /&gt;
| [[ANIM]] ''anim_id'' || W || Plays the specified animation on the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[ATTACKER]]''.properties'' || R || Gets the number of opponents who have damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[BANK]] ''layer'' || W || Opens the character's bank (or the container at the specified layer) for SRC to view.&lt;br /&gt;
|-&lt;br /&gt;
| [[BANKBALANCE]] || R || Returns the total amount of gold in the character's bankbox.&lt;br /&gt;
|-&lt;br /&gt;
| [[BARK]] ''sound_id'' || W || Plays the specified sound (or the character's generic sound if not specified) to nearby clients from this character.&lt;br /&gt;
|-&lt;br /&gt;
| [[BODY]] || RW || Gets or sets the character's body.&lt;br /&gt;
|-&lt;br /&gt;
| [[BOUNCE]] ''item_uid'' || W || Places a specified item in the character's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[BOW]] || W || Makes the character bow to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[CAN (Characters)|CAN]] || RW || Gets or Sets the Can flags for this chardef.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANCAST]] ''spell_id, check_antimagic'' || R || Returns 1 if the character can cast a given spell, bypassing anti-magic field tests if ''check_antimagic'' set to 0.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANMAKE]] ''item_id'' || R || Returns 1 if the character has the skills and resources to craft a certain item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANMAKESKILL]] ''item_id'' || R || Returns 1 if the character has the skills to craft a certain item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANMOVE]] ''direction'' || R || Returns 1 if the character can move in the given direction.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEE]] || R || Returns 1 if SRC can see the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOS]] || R || Returns 1 if SRC has line of sight to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOSFLAG]] ''flags'' || R || Returns 1 if SRC has line of sight to the character, with flags to modify what tests take place.&lt;br /&gt;
|-&lt;br /&gt;
| [[COLOR]] || RW || Gets or sets the character's hue.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONSUME]] ''resource_list'' || W || Removes specified resources from SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[COUNT]] || R || Returns the number of items equipped to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[CREATE]] || RW || Gets or sets the character's age since creation, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[CRIMINAL]] || W || Sets whether or not the character is a criminal.&lt;br /&gt;
|-&lt;br /&gt;
| [[CURFOLLOWER]] || RW || Gets or sets the number of current followers the character has,&lt;br /&gt;
|-&lt;br /&gt;
| [[DAMAGE]] ''amount, type, source'' || W || Inflicts damage upon the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[DESTROY]] || W || Deletes the object, not stopped by a return 1 in [[@Destroy]]&lt;br /&gt;
|-&lt;br /&gt;
| [[DEX]] || RW || Gets or sets the character's total dexterity.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOG (Function)|DIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOGCLOSE]] ''dialog_id button'' || W || Closes a dialog that SRC has open, simulating a button press.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOGLIST]]''.COUNT'' || R || Gets the number of number of dialogs currently considered to be visible on SRC's screen.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOGLIST]]''.n.ID'' || R || Gets the ID of the nth dialog that SRC has open (zero-based).&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOGLIST]]''.n.COUNT'' || R || Gets the number of instances of nth dialog SRC has open (zero-based).&lt;br /&gt;
|-&lt;br /&gt;
| [[DIR]] || RW || Gets or setes the direction that the character is facing.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISCONNECT]] || W || Disconnects the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISMOUNT]] || W || Dismounts the character from their ride.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPIDDEC]] || R || Gets the ID of the character as a decimal number.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISTANCE]] ''point_or_uid'' || R || Gets the distance between this object and either SRC, a map location or another object.&lt;br /&gt;
|-&lt;br /&gt;
| [[DCLICK]] || W || Double clicks the character, with SRC as the source of the event.&lt;br /&gt;
|-&lt;br /&gt;
| [[DCLICK]] ''object_uid'' || W || Double clicks an object, with the character as SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[DRAWMAP]] ''radius'' || W || Starts the cartography skill, drawing a map of the local area up to ''radius'' tiles.&lt;br /&gt;
|-&lt;br /&gt;
| [[DROP]] ''item_uid'' || W || Drops a specified item at the character's feet.&lt;br /&gt;
|-&lt;br /&gt;
| [[DUPE]] || W || Creates a clone of the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[EDIT]] || W || Displays an editing dialog for the character to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EFFECT]] ''type, item_id, speed, loop, explode, colour, rendermode'' || W || Displays an effect to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EMOTE]] ''message'' || W || Displays a *You see* message to all nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EMOTEACT]] || RW || Gets, sets or toggles whether or not the character will emote all of its actions.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIP]] ''item_uid'' || W || Equips an item to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIPARMOR]] || W || Equips the character with the best armour in their backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIPHALO]] ''timeout'' || W || Equips a halo light to the character, lasting for ''timeout'' tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIPWEAPON]] || W || Equips the character with the best weapon in their backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[EVENTS (Property)|EVENTS]] ''event_defname'' || RW || Gets a list of events attached to the object, or adds or removes an event to or from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[EXP]] || RW || Gets or sets the character's experience points.&lt;br /&gt;
|-&lt;br /&gt;
| [[FACE]] ''object_uid'' || W || Turns the character to face a specified object or SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[FAME]] || RW || Gets or sets the character's fame.&lt;br /&gt;
|-&lt;br /&gt;
| [[FAME]]''.fame_group'' || R || Returns 1 if the character's fame falls within the specified fame group.&lt;br /&gt;
|-&lt;br /&gt;
| [[FCOUNT]] || R || Returns the total number of items equipped to the character, including subitems&lt;br /&gt;
|-&lt;br /&gt;
| [[FLAGS]] || RW || Gets or sets the character's flags.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIX]] || W || Re-aligns the character's Z level to ground level.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIXWEIGHT]] || W || Recalculates the character's total weight.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLIP]] || W || Rotates the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[FONT]] || RW || Gets or sets the character's speech font.&lt;br /&gt;
|-&lt;br /&gt;
| [[FOOD]] || RW || Gets or sets the character's food level.&lt;br /&gt;
|-&lt;br /&gt;
| [[FORGIVE]] || W || Revokes the character's jailed status.&lt;br /&gt;
|-&lt;br /&gt;
| [[GO]] ''location'' || W || Teleports the character to the specified location.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOCHAR]] ''n'' || W || Teleports the character to the nth character in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOCHARID]] ''character_defname'' || W || Teleports the character to the next characer in the world with the specified [[BASEID]]&lt;br /&gt;
|-&lt;br /&gt;
| [[GOCLI]] ''n'' || W || Teleports the character to the nth online player. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[GOITEMID]] ''item_defname'' || W || Teleports the character to the next item in the world with the specified [[BASEID]].&lt;br /&gt;
|-&lt;br /&gt;
| [[GOLD]] || RW || Gets or sets the amount of gold the character has.&lt;br /&gt;
|-&lt;br /&gt;
| [[GONAME]] ''name'' || W || Teleports the character to the next character or item in the world with the specified name, accepts wildcards (*).&lt;br /&gt;
|-&lt;br /&gt;
| [[GOSOCK]] ''socket'' || W || Teleports the character to the online player with the specified socket number.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOTYPE]] ''item_type'' || W || Teleports the character to the next item in the world with the specified [[TYPE]].&lt;br /&gt;
|-&lt;br /&gt;
| [[GOUID]] ''object_uid'' || W || Teleports the character to the object with the specified [[UID]].&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILDABBREV]] || R || Returns the character's guild abbreviation.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEAR]] ''text'' || W || For NPCs, acts as if SRC had spoken the specified ''text''. For players, displays ''text'' as a system message.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEIGHT]] || R || Gets the character's height.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITS]] || RW || Gets or sets the character's hitpoints.&lt;br /&gt;
|-&lt;br /&gt;
| [[HOME]] || RW || Gets or sets the character's home location.&lt;br /&gt;
|-&lt;br /&gt;
| [[HUNGRY]] || W || Displays this character's hunger level to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ID]] || R || Gets the character's ID.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFO]] || W || Displays an information dialog about the character to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[INT]] || RW || Gets or sets the character's total intelligence.&lt;br /&gt;
|-&lt;br /&gt;
| [[INVIS]] || W || Sets whether or not the character is invisible.&lt;br /&gt;
|-&lt;br /&gt;
| [[INVUL]] || W || Sets whether or not the character is invulnerable.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISARMOR]] ''object_uid'' || R || Returns 1 if the object is armour.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCHAR]] || R || Returns 1 if the object is a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCONT]] || R || Returns 1 if the object is a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISDIALOGOPEN]] ''dialog_id'' || R || Returns 1 if SRC has the specified dialog visible on their screen.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to it.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISGM]] || R || Returns 1 if the character is in GM mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISINPARTY]] || R || Returns 1 if the player is in a [[party]].&lt;br /&gt;
|-&lt;br /&gt;
| [[ISITEM]] || R || Returns 1 if the object is an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISMYPET]] || R || Returns 1 if the character belongs to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPE]] ''type, distance, flags'' || R || Returns 1 if a nearby item has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPETOP]] ''type, distance, flags'' || R || Returns a nearby world location of a nearby item which has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISONLINE]] || R || Returns 1 if the character is considered to be online.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISPLAYER]] || R || Returns 1 if the object is a player.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISSTUCK]] || R || Returns 1 if the character cannot walk in any direction.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISTEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to its [[CHARDEF]].&lt;br /&gt;
|-&lt;br /&gt;
| [[ISTIMERF]]''.function'' || R || Returns the number of seconds left on the specified timerf if it exists.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISVENDOR]] || R || Returns 1 if the character is a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISVERTICALSPACE]] ''location'' || R || Returns 1 if the ceiling at the given location is high enough for the character to fit under.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISWEAPON]] ''object_uid'' || R || Returns 1 if the object is a weapon.&lt;br /&gt;
|-&lt;br /&gt;
| [[JAIL]] ''cell'' || W || Sends the character to jail, to a specified jail cell.&lt;br /&gt;
|-&lt;br /&gt;
| [[KARMA]] || RW || Gets or sets the character's karma.&lt;br /&gt;
|-&lt;br /&gt;
| [[KARMA]]''.karma_group'' || R || Returns 1 if the character's karma falls within the specified karma group.&lt;br /&gt;
|-&lt;br /&gt;
| [[KILL]] || W || Kills the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[LEVEL]] || RW || Gets or sets the character's experience level.&lt;br /&gt;
|-&lt;br /&gt;
| [[LIGHT]] || RW || Gets or sets the character's personal light level.&lt;br /&gt;
|-&lt;br /&gt;
| [[LUCK]] || RW || Gets or sets the luck value for the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAKEITEM]] ''item_defname, amount'' ||| W || Begins an attempt to craft the specified quantity of the given item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MANA]] || RW || Gets or sets the character's mana.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]] || RW || Gets or sets the map that this object is located.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXFOLLOWER]] || RW || Gets or sets the maximum number of followers the character can have.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXHITS]] || RW || Gets or sets the character's maximum hitpoints.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXMANA]] || RW || Gets or sets the character's maximum mana.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXSTAM]] || RW || Gets or sets the character's maximum stamina.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXWEIGHT]] || R || Returns the maximum weight that the character can carry.&lt;br /&gt;
|-&lt;br /&gt;
| [[MEMORY]]''.object_uid'' || RW || Gets or sets the memory flags the character has for the given object.&lt;br /&gt;
|-&lt;br /&gt;
| [[MENU (Function)|MENU]] ''menu_defname'' || W || Displays a menu to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGE]] ''message'' || W || Displays a message above this character to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGEUA]] ''colour, talkmode, font, lang_id, message'' || W || Displays a UNICODE message above this character to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODAR]] || RW || Gets or sets a modifier for the character's armour rating.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODDEX]] || RW || Gets or sets the character's dexterity modifier.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODINT]] || RW || Gets or sets the character's intelligence modifier.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODMAXWEIGHT]] || RW || Gets or sets the character's maximum weight modifier.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODSTR]] || RW || Gets or sets the character's strength modifier.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOUNT]] || R || Gets the UID of the character's mount.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOUNT]] ''mount_uid'' || W || Attempts to mount the character on to the specified mount.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVE]] ''direction'' || R || Returns the movement flags for the tile in the given direction (see can_flags in sphere_defs.scp).&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVE]] ''direction, amount''&amp;lt;br /&amp;gt; [[MOVE]] ''x y'' || W || Moves the object relative to its current position.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVENEAR]] ''object_uid, distance'' || W || Moves the character to a random location near another object within a certain distance.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVETO]] ''location'' || W || Moves the character to a specific location.&lt;br /&gt;
|-&lt;br /&gt;
| [[NAME]] || RW || Gets or sets the character's name.&lt;br /&gt;
|-&lt;br /&gt;
| [[NEWBIESKILL]] ''skill_id'' || W || Distributes items that are associated with the specified skill, to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[NEWGOLD]] ''amount'' || W || Generates ''amount'' gold in the character's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[NEWLOOT]] ''item_or_template_defname'' || W || Generates the specified item or template into the character's backpack, providing that they are an NPC that hasn't been summoned.&lt;br /&gt;
|-&lt;br /&gt;
| [[NIGHTSIGHT]] || RW || Gets or sets whether or not the character has nightsight enabled.&lt;br /&gt;
|-&lt;br /&gt;
| [[NOTOGETFLAG]] ''viewer_uid, allow_incognito'' || RW || Gets the character's notoriety flags as seen by the specified viewer.&lt;br /&gt;
|-&lt;br /&gt;
| [[NPC]] || RW || Gets or sets the character's AI type.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEDOWN]] ''amount'' || W || Decreases the character's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEUP]] ''amount'' || W || Increases the characer's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[OBODY]] || RW || Gets or sets the character's original body.&lt;br /&gt;
|-&lt;br /&gt;
| [[OPENPAPERDOLL]] || W || Displays the character's paperdoll to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[OPENPAPERDOLL]] ''character_uid'' || W || Displays a specified character's paperdoll to this character.&lt;br /&gt;
|-&lt;br /&gt;
| [[OSKIN]] || RW || Gets or sets the character's original colour.&lt;br /&gt;
|-&lt;br /&gt;
| [[ODEX]] || RW || Gets or sets the character's base dexterity (without modifiers).&lt;br /&gt;
|-&lt;br /&gt;
| [[OINT]] || RW || Gets or sets the character's base intelligence (without modifiers).&lt;br /&gt;
|-&lt;br /&gt;
| [[OSTR]] || RW || Gets or sets the character's base strength (without modifiers).&lt;br /&gt;
|-&lt;br /&gt;
| [[PACK]] || W || Opens the character's backpack for SRC to view.&lt;br /&gt;
|-&lt;br /&gt;
| [[POISON]] ''strength'' || W || Poisons the character, with the specified poison strength.&lt;br /&gt;
|-&lt;br /&gt;
| [[POLY]] ''character_id'' || W || Begins casting the polymorph spell, with ''character_id'' being the character to turn into.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLE]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLEU]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function, supporting UNICODE response.&lt;br /&gt;
|-&lt;br /&gt;
| [[PRIVSET]] ''plevel'' || W || Sets the PLEVEL of the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[RANGE]] || R || Gets the combat range of the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[RELEASE]] || W || Clears the character's owners.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVE]] ''allow_player_removal'' || W || Deletes the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVEFROMVIEW]] || W || Removes the object from nearby clients' screens.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESCOLD]] || RW || Gets or sets the character's resistance to cold.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESCOUNT]] ''item_defname'' || R || Returns the total amount of a specific item equipped to the character or inside their baackpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESENDTOOLTIP]] ''sendfull'',''usecache'' || W || Forces Sphere to update the tooltips for nearby clients.  If sendfull is 1 the entire tooltip is sent and if 0 then just the header is sent.  If usecache is 1 then the cached version (if found) will be sent and if 0 then the cached version (if found) will be replaced and sent&lt;br /&gt;
|-&lt;br /&gt;
| [[RESENERGY]] || RW || Gets or sets the character's resistance to energy.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESFIRE]] || RW || Gets or sets the character's resistance to fire.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESPOISON]] || RW || Gets or sets the character's resistance to poison.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESTEST]] ''item_list'' || R || Returns 1 if all of the items in the list can be found equipped to the character or inside their backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESURRECT]] ''force'' || W || Resurrects the character. If ''force'' is 1 then usual anti-magic checks are bypasses.&lt;br /&gt;
|-&lt;br /&gt;
| [[SALUTE]] ''object_uid'' || W || Makes the character salute a specified object or SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAY]] ''message'' || W || Makes the character speak a message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYU]] ''message'' || W || Makes the character speak a UTF-8 message&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYUA]] ''colour, talkmode, font, lang_id, text'' || W || MAkes the character speak a UNICODE message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SDIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC, providing that it is not already open.&lt;br /&gt;
|-&lt;br /&gt;
| [[SERIAL]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[SEX]] ''value_male:value_female'' || R || Returns ''value_male'' or ''value_female'' depending on the character's gender.&lt;br /&gt;
|-&lt;br /&gt;
| [[SEXTANTP]] ''location'' || R || Converts the character's location or a specified location into sextant coordinates.&lt;br /&gt;
|-&lt;br /&gt;
| ''skill_name'' || RW || Gets or sets the character's skill level in ''skill_name''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILL (Function)|SKILL]] || W || Begins using a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLCHECK]] ''skill_id, difficulty'' || R || Performs a check for skill success, returning 1 if the attempt was successful.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLBEST]]''.n'' || R || Returns the ID of the character's nth highest skill (0 = Highest)&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLGAIN]] ''skill, difficulty'' || W || Invokes Sphere's skill gain for the specified skill, with the given difficulty (0-100)&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTEST]] ''skill_list'' || R || Returns 1 if the character possess all of the skills in the list.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTOTAL]] || R || Returns the total value of all the character's skills.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTOTAL]] ''skill_group'' || R || Returns the total value of all the character's skills with the specified group flag(s).&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTOTAL]] ''-amount'' || R || Returns the total value of all the character's skills that are under ''amount''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLTOTAL]] ''+amount'' || R || Returns the total value of all the character's skills that are over ''amount''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLUSEQUICK]] ''skill_id, difficulty'' || R || Quickly uses a skill, returning 1 if the attempt was successful.&lt;br /&gt;
|-&lt;br /&gt;
| [[SLEEP]] ''fall_forwards'' || W || Makes the character appear to sleep.&lt;br /&gt;
|-&lt;br /&gt;
| [[SOUND]] ''sound_id, repeat'' || W || Plays a sound from this character.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELLEFFECT]] ''spell_id, strength, source_character_uid, source_item_uid'' || W || Causes the character to be affected by a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[STAM]] || RW || Gets or sets the character's stamina.&lt;br /&gt;
|-&lt;br /&gt;
| [[STONE]] || RW || Gets or sets whether or not the character is trapped in stone.&lt;br /&gt;
|-&lt;br /&gt;
| [[STR]] || RW || Gets or sets the character's total strength.&lt;br /&gt;
|-&lt;br /&gt;
| [[SUICIDE]] || W || Forces the character to commit suicide.&lt;br /&gt;
|-&lt;br /&gt;
| [[SUMMONCAGE]] || W || Teleports the character to SRC's, surrounded by a cage multi.&lt;br /&gt;
|-&lt;br /&gt;
| [[SUMMONTO]] || W || Teleports the character to SRC's position.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAG]]''.name'' || RW || Gets or sets the value of a TAG.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index'' || R || Gets a TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.KEY || R || Gets the name of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.VAL || R || Gets the value of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGCOUNT]] || R || Gets the number of TAGs stored on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGLIST]] || W || Outputs a list of the object's TAGs.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGET]]''FGMW'' ''function'' || W || Displays a targeting cursor to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMER]] || RW || Gets or sets the length of time before the item's timer expires, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERD]] || RW || Gets or sets the length of time before the item's timer expires, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''time, function'' || W || Scheduled a function to be executed on this object in ''time'' seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''CLEAR'' || W || Clears all scheduled functions from the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''STOP, function'' || W || Stops the specified function from the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[TITHING]] || RW || Gets or sets the number of tithing points the character has.&lt;br /&gt;
|-&lt;br /&gt;
| [[TITLE]] || RW || Gets or sets the character's title.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOWNABBREV]] || R || Returns the character's town abbreviation.&lt;br /&gt;
|-&lt;br /&gt;
| [[TRIGGER]] ''trig_name, trig_type'' || R || Fires a custom trigger and returns the RETURN value.&lt;br /&gt;
|-&lt;br /&gt;
| [[UID]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNDERWEAR]] || W || Toggles the display of underwear on the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNEQUIP]] ''item_uid'' || W || Unequips an item from the character, placing it in their backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATE]] || W || Updates the state of the character to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATEX]] || W || Updates the state of the character to nearby clients, removing it from their view first to ensure a full refresh.&lt;br /&gt;
|-&lt;br /&gt;
| [[USEITEM]] || W || Double clicks the character, with SRC as the source of the event, without checking for line of sight.&lt;br /&gt;
|-&lt;br /&gt;
| [[USEITEM]] ''object_uid'' || W || Double clicks an object, with the character as SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[VISUALRANGE]] || RW || Gets or sets the character's sight range.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEIGHT]] || R || Gets the weight of the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[WHERE]] || W || Describes the character's location to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[Z]] || R || Gets the Z position of the character.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Triggers==&lt;br /&gt;
Here is a list of all character triggers. Click on the trigger name for more detailed information such as arguments and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[@AfterClick]] || Fires when the object has been single-clicked, just before the overhead name is shown.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Attack]] || Fires when the character begins attacking another.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CallGuards]] || Fires when the character calls for guards.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharAttack]] || Fires when the character is attacked by another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharClick]] || Fires when the character is clicked by another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharClientTooltip]] || Fires when the tooltips are about to be sent to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharDClick]] || Fires when the character double clicks another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CharTradeAccepted]] || Fires when another character accepts trade with the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Click]] || Fires when the object has been single-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ClientTooltip]] || Fires when tooltips for this character are about to be sent to a client.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CombatAdd]] || Fires when someone is being added to my attacker list.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CombatDelete]] || Fires when someone is deleted from my attacker list.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CombatEnd]] || Fires when someone is being deleted from my attacker list.&lt;br /&gt;
|-&lt;br /&gt;
| [[@CombatStart]] || Fires when adding first attacker to my list.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuRequest]] || Fires when a client requests the context menu options for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuSelect]] || Fires when a client selects a context menu option for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Create]] || Fires when the object is initially created, before it is placed in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Criminal]] || Fires when the character becomes a criminal.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DClick]] || Fires when the object is double-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Death]] || Fires when the character's hitpoints reaches zero.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DeathCorpse]] || Fires when a corpse is created for the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Destroy]] || Fires when the object is being deleted.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Dismount]] || Fires when the character dismounts their ride.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Dye]] || Fires when the character is about to change their color or the color of an object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Eat]] || Fires when the character eats something.&lt;br /&gt;
|-&lt;br /&gt;
| [[@EnvironChange]] || Fires when the environment changes for the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ExpChange]] || Fires when the character's experience points change.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ExpLevelChange]] || Fires when the character's experience level changes.&lt;br /&gt;
|-&lt;br /&gt;
| [[@FameChange]] || Fires when the character's fame changes.&lt;br /&gt;
|-&lt;br /&gt;
| [[@GetHit]] || Fires when the character receives damage.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Hit]] || Fires when the character hits another in combat.&lt;br /&gt;
|-&lt;br /&gt;
| [[@HitMiss]] || Fires when the character fails to hit another in combat.&lt;br /&gt;
|-&lt;br /&gt;
| [[@HitTry]] || Fires when the character tries to hit another in combat.&lt;br /&gt;
|-&lt;br /&gt;
| [[@HouseDesignCommit]] || Fires when the character commits a new house design.&lt;br /&gt;
|-&lt;br /&gt;
| [[@HouseDesignExit]] || Fires when the character exits house design mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Hunger]] || Fires when the character's food level decreases.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemAfterClick]] || Fires when the character single-clicks an item, just before the overhead name is shown.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemBuy]] || Fires when the character buys an item from a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemClick]] || Fires when the character single-clicks an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemClientTooltip]] || Fires when the tooltips are about to be sent to the client for an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemContextMenuRequest]] || Fires when the character requests the context menu options for an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemContextMenuSelect]] || Fires when the character selects a context menu option for an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemCreate]] || Fires when an item is initially created, before it is placed in the world, and the character is in some way responsible for it.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDamage]] || Fires when the character damages an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDClick]] || Fires when the character double-clicks an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDropOn_Char]] || Fires when the character drops an item on to a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDropOn_Ground]] || Fires when the character drops an item on to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDropOn_Item]] || Fires when the character drops an item on to another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemDropOn_Self]] || Fires when the character drops an item inside another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemEquip]] || Fires when the character equips an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemEquipTest]] || Fires when the characer is about to equip an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemPickUp_Ground]] || Fires when the character picks an item up from the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemPickUp_Pack]] || Fires when the character picks an item up from inside a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemPickUp_Self]] || Fires when the character picks an item up from inside another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemPickUp_Stack]] || Fires when the character picks up an item from a stack.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemSell]] || Fires when the character sells an item to a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemSpellEffect]] || Fires when the character hits an item with a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemStep]] || Fires when the character steps on an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemTargOn_Cancel]] || Fires when the character cancels an item's target cursor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemTargOn_Char]] || Fires when the character targets a character with an item's target cursor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemTargOn_Ground]] || Fires when the character targets the ground with an item's target cursor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemTargOn_Item]] || Fires when the character targets an item with an item's target cursor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemToolTip]] || Fires when the character requests old-style tooltips for an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ItemUnEquip]] || Fires when the character unequips an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Jailed]] || Fires when the character is sent to jail.&lt;br /&gt;
|-&lt;br /&gt;
| [[@KarmaChange]] || Fires when the character's karma changes.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Kill]] || Fires when the character kills another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Login]] || Fires when the character logs in.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Logout]] || Fires when the character logs out.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Mount]] || Fires when the character mounts a ride.&lt;br /&gt;
|-&lt;br /&gt;
| [[@MurderDecay]] || Fires when one of the character's kills is about to decay.&lt;br /&gt;
|-&lt;br /&gt;
| [[@MurderMark]] || Fires when the character is about to gain a kill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NotoSend]] || Fires the status bar/character notoriety color is sent to another players.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCAcceptItem]] || Fires when the NPC receives an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCActFight]] || Fires when the NPC makes a combat decision.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCActFollow]] || Fires when the NPC follows another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCAction]] || Fires when the NPC is about to perform an AI action.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCHearGreeting]] || Fires when the NPC hears a character for the first time.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCHearUnknown]] || Fires when the NPC hears something they don't understand.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCLookAtChar]] || Fires then the NPC looks at a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCLookAtItem]] || Fires when the NPC looks at an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCLostTeleport]] || Fires when the NPC is lost and is about to be teleported back to their [[HOME]].&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCRefuseItem]] || Fires when the NPC refuses an item being given to them.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCRestock]] || Fires when the NPC is having their items restocked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCSeeNewPlayer]] || Fires when the NPC first sees a player.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCSeeWantItem]] || Fires when the NPC sees an item they want.&lt;br /&gt;
|-&lt;br /&gt;
| [[@NPCSpecialAction]] || Fires when the NPC is about to perform a special action (leaving fire trail, dropping web).&lt;br /&gt;
|-&lt;br /&gt;
| [[@PayGold]] || Fires when the character receives a payment. (Experimental Build Only)&lt;br /&gt;
|-&lt;br /&gt;
| [[@PersonalSpace]] || Fires when the character is stepped on.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PetDesert]] || Fires when the character deserts its owner.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Profile]] || Fires when a player attempts to read the character's profile from the paperdoll.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ReceiveItem]] || Fires when the NPC receives an item from another character, before they decide if they want it or not.&lt;br /&gt;
|-&lt;br /&gt;
| [[@RegenStat]] || Fires when a character is going to regenerate any stat point.&lt;br /&gt;
|-&lt;br /&gt;
| [[@RegionEnter]] || Fires when the character enters a region.&lt;br /&gt;
|-&lt;br /&gt;
| [[@RegionLeave]] || Fires when the character leaves a region.&lt;br /&gt;
|-&lt;br /&gt;
| [[@RegionResourceFound]] || Fires after a resource has been selected and the resource bit has been created.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Rename]] || Fires when the character renames another.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Resurrect]] || Fires when the character is being resurrected.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SeeCrime]] || Fires when the character sees a crime take place.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SeeHidden]] || Fires when this character is about to see a hidden character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillAbort]] || Fires when the character aborts a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillChange]] || Fires when the character's skill level changes.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillFail]] || Fires when the character fails a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillGain]] || Fires when the character has a chance to gain in a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillMakeItem]] || Fires when the character crafts an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillMenu]] || Fires when a skill menu is shown to the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillPreStart]] || Fires when the character starts a skill, before any hardcoded action takes place.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillSelect]] || Fires when the character selects a skill on their skill menu.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillStart]] || Fires when the character starts a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillSuccess]] || Fires when the character succeeds at a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillUseQuick]] || Fires when the character quickly uses a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SkillWait]] || Fires when Sphere wants to check if a character must wait before starting a skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellBook]] || Fires when the character opens their spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellCast]] || Fires when the character casts a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellEffect]] || Fires when the character is hit by the effects of a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellFail]] || Fires when the character fails to cast a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellSelect]] || Fires when the character selects a spell to cast.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellSuccess]] || Fires when the character successfully casts a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellTargetCancel]] || Fires when the character cancels target selection for a spell they have just cast.&lt;br /&gt;
|-&lt;br /&gt;
| [[@StatChange]] || Fires when the character's STR, DEX or INT is changed through skill gain.&lt;br /&gt;
|-&lt;br /&gt;
| [[@StepStealth]] || Fires when the character takes a step whilst hidden.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ToggleFlying]] || Fires when a Gargoyle Player is going to Fly or to Land.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ToolTip]] || Fires when a player requests old-style tooltips for this character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TradeAccepted]] || Fires when the character accepts a trade with another player.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TradeClose]] || Fires when a trade window is closed.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TradeCreate]] || Fires when a player begins a trade with another player.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserBugReport]] || Fires when the player submits a bug report.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserChatButton]] || Fires when the player presses the Chat button on the paperdoll.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserExtCmd]] || Fires when the player sends an extended command packet. (used by some macros)&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserExWalkLimit]] || Fires when the player's movement is restricted by the movement speed settings in Sphere.ini&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserGuildButton]] || Fires when the player presses the Guild button on the paperdoll.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserKRToolbar]] || Fires when the player presses a button on the toolbar.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserMailBag]] || Fires when the player drags the mail bag on to another character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserQuestArrowClick]] || Fires when the player clicks the quest arrow.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserQuestButton]] || Fires when the player presses the Quest button on the paperdoll.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserSkills]] || Fires when the player opens their skill menu, or a skill update is sent to the player.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserSpecialMove]] || Fires when the player uses a special move.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserStats]] || Fires when the player opens the status window.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserVirtue]] || Fires when the player presses on the Virtue button.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserVirtueInvoke]] || Fires when the player invokes a virtue through macros.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UserWarmode]] || Fires when the player switches between war and peace mode.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Players==&lt;br /&gt;
Characters that are attached to an account become Player Characters. In addition to the basic character references, properties and functions they also receive the following:&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILD]] || R || Gets the [[Special Items#Guild.2FTown_Stones|guild stone]] that the player belongs to.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLCLASS (Reference)|SKILLCLASS]] || RW || Gets or sets the player's [[SKILLCLASS|skillclass]].&lt;br /&gt;
|-&lt;br /&gt;
| [[TOWN]] || R || Gets the [[Special Items#Guild.2FTown_Stones|town stone]] that the player belongs to.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all player properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[DEATHS]] || RW || Gets or sets the number of times the player has died.&lt;br /&gt;
|-&lt;br /&gt;
| [[DSPEECH]] ''+/-speech_id'' || RW || Gets a list of attached speech handlers, or adds or removes a speech handler to or from the player.&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]]''.n.DELETE'' || W || Deletes the nth GM page. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]]''.n.HANDLE'' || W || Sets the player as the handler for the nth GM page. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]]''.n.key'' || W || Executes the .page command with ''key'' as the arguments.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISDSPEECH]]''.speech_id'' || R || Returns 1 if the player has the given speech handler attached.&lt;br /&gt;
|-&lt;br /&gt;
| [[KICK]] || W || Disconnects and blocks the player's account.&lt;br /&gt;
|-&lt;br /&gt;
| [[KILLS]] || RW || Gets the number of murders the player has committed.&lt;br /&gt;
|-&lt;br /&gt;
| [[KRTOOLBARSTATUS]] || RW || Gets or sets whether or not the KR toolbar is enabled for this player.&lt;br /&gt;
|-&lt;br /&gt;
| [[LASTUSED]] || RW || Gets the length of time since the player was last attached to a client, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[PASSWORD]] || W || Sets or clears the player's password.&lt;br /&gt;
|-&lt;br /&gt;
| [[PFLAG]] || RW || Gets or sets the player's PFLAG value.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROFILE]] || RW || Gets or sets the text to display on the player's profile.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLLOCK]]''.skill_id'' || RW || Gets or sets the lock state of the player's skill. 0 is Up. 1 is Down. 2 is Locked.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPEEDMODE]] || RW || Gets or sets the speed that the player moves at. (0=Normal, 1=Double Speed on Foot, 2=Always walk, 3=Always Run on Foot/Always Walk on Mount, 4=Can not Walk or Run)&lt;br /&gt;
|-&lt;br /&gt;
| [[STATLOCK]]''.stat_id || RW || Gets or sets the lock state of the player's STR (0), DEX (2) or INT (1). [0 = up, 1 = down, 2 = locked]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==NPCs==&lt;br /&gt;
Characters that are not attached to an account are NPCs and are controlled by Sphere's AI. In addition to the basic character references, properties and functions they also receive the following:&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all NPC properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACTPRI]] || RW || Gets or sets the NPC's motivation towards their current action.&lt;br /&gt;
|-&lt;br /&gt;
| [[BUY]] || W || Displays the shop window to SRC, in buy mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[BYE]] || W || Ends the NPC's current action.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLEE]] ''distance'' || W || Begins moving the NPC away from its current location.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOTO]] ''location'' || W || Begins moving the NPC towards the specified location.&lt;br /&gt;
|-&lt;br /&gt;
| [[HIRE]] || W || Begins the hiring process between the NPC and SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[LEAVE]] ''distance'' || W || Begins moving the NPC away from its current location.&lt;br /&gt;
|-&lt;br /&gt;
| [[NPC]] || RW || Gets or sets the NPC's AI type.&lt;br /&gt;
|-&lt;br /&gt;
| [[HOMEDIST]] || RW || Gets or sets the distance that the NPC can wander from its [[HOME]] position.&lt;br /&gt;
|-&lt;br /&gt;
| [[PETRETRIEVE]] || W || Enables SRC to retrieve their stabled pets from the NPC.&lt;br /&gt;
|-&lt;br /&gt;
| [[PETSTABLE]] || W || Enables SRC to stable their pet with the NPC.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESTOCK]] ''force'' || W || Clears all of the NPC's stock, repopulating it when it is next accessed (or immediately if ''force''=1)&lt;br /&gt;
|-&lt;br /&gt;
| [[RUN]] ''direction'' || W || Forces the NPC to run one tile in the specified direction.&lt;br /&gt;
|-&lt;br /&gt;
| [[SELL]] || W || Displays the shop window to SRC, in sell mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHRINK]] || W || Shrinks the NPC into a figurine item.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPEECH]] ''+/-speech_id'' || RW || Gets the list of speech handlers attached to the NPC, or adds or removes a speech handler to or from the NPC.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPEECHCOLOR]] || RW || Gets or sets the colour of the NPC's speech.&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWDAM]] ''min,max'' || RW || Gets or sets a range of damage used for thrown objects. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWDAM]] ''dam'' || RW || Gets or sets the constant damage used for thrown objects. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWOBJ]] ''id'' || RW || Gets or sets the ID of an object to be thrown by NPCs. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWRANGE]] ''min,max'' || RW || Gets or sets the range that an object can be thrown at. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[THROWRANGE]] ''max'' || RW || Gets or sets the range that an object can be thrown at with a default min of 2. (overrides chardef property)&lt;br /&gt;
|-&lt;br /&gt;
| [[TRAIN]] ''skill'' || W || Initiates training between the NPC and SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[VENDCAP]] || RW || Gets or sets the amount of gold a vendor will restock to.&lt;br /&gt;
|-&lt;br /&gt;
| [[VENDGOLD]] || RW || Gets or sets the amount of gold a vendor has.&lt;br /&gt;
|-&lt;br /&gt;
| [[WALK]] ''direction'' || W || Forces the NPC to walk one tile in the specified direction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Clients==&lt;br /&gt;
When a client is controlling a character, the following references, properties and functions will be available:&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGEP]] || R || Gets the [[GM Pages|GM page]] that the client is currently handling.&lt;br /&gt;
|-&lt;br /&gt;
| [[HOUSEDESIGN]] || R || Gets the [[Special Items#Customizable Multis|building]] that is currently being designed by the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[PARTY]] || R || Gets the [[Parties|party]] that the client is a member of.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARG]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that the client has targeted.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGP]] || RW || Gets or sets the [[Map Points|location]] that the client has targeted.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGPROP]] || RW || Gets or sets the character whose skills are shown in the client's skill menu.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGPRV]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that the client previously targeted.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all client properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ADD]] ''item_defname'' || W || Prompts the client to target a location to add the specified item at.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDBUFF]] ''icon, cliloc1, cliloc2, time, arg1, arg2, arg3'' || W || Displays a buff icon in the client's buff icon bar.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDCLILOC]] ''cliloc, args'' || W || Adds a cliloc to the tooltip being sent to the client. Only valid in @ClientTooltip triggers.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDCONTEXTENTRY]] ''entry_id, cliloc, flags, colour'' || W || Adds an entry to the context menu being sent to the client. Only valid in @ContextMenuRequest triggers.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLMOVE]] || RW || Gets or sets whether or not the client has ALLMOVE privileges.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLSHOW]] || RW || Gets or sets whether or not the client is able to see disconnected characters.&lt;br /&gt;
|-&lt;br /&gt;
| [[ARROWQUEST]] ''x, y, id'' || W || Displays an arrow on the client's screen that points to the specified world coordinates. If id is supplied multiple arrows can be displayed on the client at once (Newer clients only - 3.x+ clients confirm?).  You can cancel the arrow by passing 0 for x and y and your id.  Using ARROWQUEST without any arguments will cancel arrow with id 0 if present.&lt;br /&gt;
|-&lt;br /&gt;
| [[BADSPAWN]] || W || Teleports the client to the first invalid spawn point in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[BANKSELF]] || W || Opens up the client's bankbox.&lt;br /&gt;
|-&lt;br /&gt;
| [[CAST]] ''spell_id' || W || Begins casting a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[CHARLIST]] || W || Displays the client's character list screen.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARCTAGS]] || W || Removes all of the client's CTAGs.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENTIS3D]] || R || Returns 1 if the client is using the 3D client.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENTISKR]] || R || Returns 1 if the client is using the KR client.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLIENTVERSION]] || R || Gets the client version the client is using, based on the encryption keys being used (unencrypted clients return 0).&lt;br /&gt;
|-&lt;br /&gt;
| [[CTAG]] || RW || Gets or sets the value of a CTAG.&lt;br /&gt;
|-&lt;br /&gt;
| [[CTAGCOUNT]] || R || Gets the number of CTAGs stored on the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[CTAGLIST]] || W || Displays a list of the client's CTAGs to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[CTAGLIST]] LOG || W || Displays a list of the client's CTAGs on the server console.&lt;br /&gt;
|-&lt;br /&gt;
| [[DEBUG]] || RW || Gets or sets whether or not the client is in debug mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[DETAIL]] || RW || Gets or sets whether or not the client receives additional detail, such as combat messages.&lt;br /&gt;
|-&lt;br /&gt;
| [[EVERBTARG]] ''command'' || W || Prompts the client to enter a command, or arguments to the command if specified. The complete command with arguments is then executed on TARG.&lt;br /&gt;
|-&lt;br /&gt;
| [[EXTRACT]] ''file, template_id'' || W || Extracts static items from a targeted area on the map and saves them into the specified file.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLUSH]] || W || Forces queued network data to be immediately sent to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[GM]] || RW || Gets or sets whether or not the client is in GM mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[GMPAGE]] ''ADD message'' || W || Sends a GM page from the client with the specified message, or if no arguments provided will prompt the client for a message.&lt;br /&gt;
|-&lt;br /&gt;
| [[GOTARG]] || W || Teleports the client to their targeted item.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEARALL]] || RW || Gets or sets whether or not the client can hear all player speech regardless of location.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFO]] || W || Displays an information dialog to the client for an object they target.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFORMATION]] || W || Displays server information to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || W || Forces the client to target the object referenced by [[ACT]].&lt;br /&gt;
|-&lt;br /&gt;
| [[LASTEVENT]] || RW || Returns the time when data was last received from the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[LINK]] || W || Allows the client to target two objects to link them together.&lt;br /&gt;
|-&lt;br /&gt;
| [[MENU (Function)|MENU]] ''menu_id'' || W || Displays a menu to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[MIDILIST]] ''music1, music2, ...'' || W || Selects a random music id from the given list and tells the client to play it.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGE]] ''dx, dy, dz'' || W || Allows the client to nudge an area of items by the given coordinates, relative to the items' position.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUKE]] ''command'' || W || Allows the client to execute ''command'' on all items in a targeted area.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUKECHAR]] ''command'' || W || Allows the client to execute ''command'' on all NPCs in a targeted area.&lt;br /&gt;
|-&lt;br /&gt;
| [[PAGE]] || W || Displays the GM page menu to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[PRIVSHOW]] || W || Gets or sets whether or not the client's privilege level should show in their name.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVEBUFF]] ''icon'' || W || Removes a buff icon from the client's buff icon bar.&lt;br /&gt;
|-&lt;br /&gt;
| [[REPAIR]] || W || Prompts the client to target an item for them to repair.&lt;br /&gt;
|-&lt;br /&gt;
| [[REPORTEDCLIVER]] || R || Gets the client version the client is using, based on what it has identified itself as to the server.&lt;br /&gt;
|-&lt;br /&gt;
| [[REPORTEDCLIVER]].FULL || R || Gets the client version the client is using, based on what it has identified itself as to the server, including the 4th digit.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESEND]] || W || Forces a full refresh of the client's screen.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAVE]] ''immediate'' || W || Begins a world save. If background saving is enabled then ''[[SAVE]] 1'' will force a foreground save.&lt;br /&gt;
|-&lt;br /&gt;
| [[SCREENSIZE]] || R || Gets the client's screen size. (width,height)&lt;br /&gt;
|-&lt;br /&gt;
| [[SCREENSIZE]].X || R || Gets the width of the client's screen size.&lt;br /&gt;
|-&lt;br /&gt;
| [[SCREENSIZE]].Y || R || Gets the height of the client's screen size.&lt;br /&gt;
|-&lt;br /&gt;
| [[SCROLL]] ''scroll_id'' || W || Displays a message scroll to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SELF]] || W || Forces the client to target itself.&lt;br /&gt;
|-&lt;br /&gt;
| [[SENDPACKET]] ''data'' || W || Sends a raw data packet to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SET]] ''command'' || W || Prompts the client to target an object to execute ''command'' on.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHOWSKILLS]] || W || Refreshes the client's skills for the skill menu.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLMENU (Function)|SKILLMENU]] ''skillmenu_id'' || W || Displays a skillmenu to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SKILLSELECT]] ''skill_id'' || W || Simulates the client selecting a skill from their skill menu.&lt;br /&gt;
|-&lt;br /&gt;
| [[SUMMON]] ''character_id'' || W || Casts the summon spell, with ''character_id'; being the character to summon.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSMESSAGE]] ''text'' || W || Displays a system message to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSMESSAGELOC]] ''hue, cliloc, args'' || W || Displays a localized system message to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSMESSAGELOCEX]] ''hue, cliloc, flags, affix, args'' || W || Displays a localized system message to the client with affixed text.&lt;br /&gt;
|-&lt;br /&gt;
| [[SYSMESSAGEUA]] ''hue, font, mode, language, text'' || W || Displays a UNICODE system message to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGETTEXT]] || RW || Gets or sets the client's target text.&lt;br /&gt;
|-&lt;br /&gt;
| [[TELE]] || W || Casts the teleport spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[TILE]] ''z, item1, item2, ...'' || W || Tiles the ground within a targeted area with the listed items, at the given Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNEXTRACT]] ''file'' || W || Unextracts previously extracted statics, as dynamic items at a targeted location.&lt;br /&gt;
|-&lt;br /&gt;
| [[VERSION]] || W || Displays the server description to the client.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEBLINK]] ''url'' || W || Opens the client's web browser to send them to the specified url.&lt;br /&gt;
|-&lt;br /&gt;
| [[X]]''command'' || W || Prompts the client to target an object to execute ''command'' on.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@Start&amp;diff=7831</id>
		<title>@Start</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@Start&amp;diff=7831"/>
				<updated>2017-02-01T23:41:34Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when an attempt to use skill has started.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[SKILL|Skills]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] starting to use the skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] || The [[Characters|character]] starting to use the skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || The [[Backpack|backpack]] trying to peek for snooping.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || I || The skill number that has started.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.CRAFTAMOUNT || IO || For crafting skills, the amount of the item that will be created.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.CRAFTITEMDEF || IO || For crafting skills, the item [[BASEID]] that will be created.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.CRAFTSTROKECNT || IO || For crafting skills, the number of 'strokes' until the skill completes.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Aborts the skill attempt.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@Start&amp;diff=7830</id>
		<title>@Start</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@Start&amp;diff=7830"/>
				<updated>2017-02-01T23:41:18Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when an attempt to use skill has started.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[SKILL|Skills]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] starting to use the skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] || The [[Characters|character]] starting to use the skill.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || The [[Backpack]] trying to peek for snooping.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || I || The skill number that has started.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.CRAFTAMOUNT || IO || For crafting skills, the amount of the item that will be created.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.CRAFTITEMDEF || IO || For crafting skills, the item [[BASEID]] that will be created.&lt;br /&gt;
|-&lt;br /&gt;
| LOCAL.CRAFTSTROKECNT || IO || For crafting skills, the number of 'strokes' until the skill completes.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Aborts the skill attempt.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@ItemPickUp_Pack&amp;diff=7802</id>
		<title>@ItemPickUp Pack</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@ItemPickUp_Pack&amp;diff=7802"/>
				<updated>2015-12-26T00:06:05Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when a character picks up an item from inside a container.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[Characters]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || The [[Items|item]] being picked up.&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] picking up the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || I || The amount of the item being picked up.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the item from being picked up.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@ItemPickUp_Pack&amp;diff=7801</id>
		<title>@ItemPickUp Pack</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@ItemPickUp_Pack&amp;diff=7801"/>
				<updated>2015-12-25T23:24:47Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when a character picks up an item from inside a container.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[Characters]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || The [[Items|item]] being picked up.&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] picking up the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARG]] || The [[pack]] uid where the item picked up.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || I || The amount of the item being picked up.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the item from being picked up.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:@EquipTest&amp;diff=7513</id>
		<title>Tr:@EquipTest</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:@EquipTest&amp;diff=7513"/>
				<updated>2013-12-18T08:56:25Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Geri Bildirim Verileri */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|@EquipTest}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Açıklama==&lt;br /&gt;
Bu trigger bir eşya donatıldığı zaman devreye girer ve Sphere karakterin eşyayı kullanabilir olup, olmadığına karar verir.&lt;br /&gt;
&lt;br /&gt;
Kullanılabilir:&lt;br /&gt;
* [[Items|Items]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referanslar==&lt;br /&gt;
Aşağıda belirtilen referanslar bu trigger için mümkündür:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || Teçhiz edilen [[Items|eşya]].&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] || Eşya ile donatılan [[Characters|karakter]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda bu trigger için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
''Bu trigger için herhangi bir seçenek yoktur.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Geri Bildirim Verileri==&lt;br /&gt;
Takip etmekte olan geribildirimler, bu trigger için kullanılabilir:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Eşyanın techiz edilmesini engeller.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:@EquipTest&amp;diff=7512</id>
		<title>Tr:@EquipTest</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:@EquipTest&amp;diff=7512"/>
				<updated>2013-12-18T08:55:56Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Geri Bildirim Verileri */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|@EquipTest}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Açıklama==&lt;br /&gt;
Bu trigger bir eşya donatıldığı zaman devreye girer ve Sphere karakterin eşyayı kullanabilir olup, olmadığına karar verir.&lt;br /&gt;
&lt;br /&gt;
Kullanılabilir:&lt;br /&gt;
* [[Items|Items]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referanslar==&lt;br /&gt;
Aşağıda belirtilen referanslar bu trigger için mümkündür:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || Teçhiz edilen [[Items|eşya]].&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] || Eşya ile donatılan [[Characters|karakter]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda bu trigger için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
''Bu trigger için herhangi bir seçenek yoktur.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Geri Bildirim Verileri==&lt;br /&gt;
Takip etmekte olan geribildirimler, bu trigger için kullanılabilir:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Eşyanın techiz edilmesini engeller.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:@EquipTest&amp;diff=7511</id>
		<title>Tr:@EquipTest</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:@EquipTest&amp;diff=7511"/>
				<updated>2013-12-18T08:55:41Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: Created page with &amp;quot;{{Languages|@EquipTest}} __FORCETOC__  ==Açıklama== Bu trigger bir eşya donatıldığı zaman devreye girer ve Sphere karakterin eşyayı kullanabilir olup, olmadığına k...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|@EquipTest}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Açıklama==&lt;br /&gt;
Bu trigger bir eşya donatıldığı zaman devreye girer ve Sphere karakterin eşyayı kullanabilir olup, olmadığına karar verir.&lt;br /&gt;
&lt;br /&gt;
Kullanılabilir:&lt;br /&gt;
* [[Items|Items]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referanslar==&lt;br /&gt;
Aşağıda belirtilen referanslar bu trigger için mümkündür:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || Teçhiz edilen [[Items|eşya]].&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] || Eşya ile donatılan [[Characters|karakter]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda bu trigger için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
''Bu trigger için herhangi bir seçenek yoktur.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Geri Bildirim Verileri==&lt;br /&gt;
Takip etmekte olan geribildirimler, bu trigger için kullanılabilir:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Eşyanın techiz edilmesini engeller.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@ItemDamage&amp;diff=7510</id>
		<title>@ItemDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@ItemDamage&amp;diff=7510"/>
				<updated>2013-12-18T08:54:22Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|@ItemDamage}}&lt;br /&gt;
__FORGETOC__&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This trigger fires when a character damages an item.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[Items|Items]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || The [[Items|item]] taking damage.&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] responsible for the damage.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || I || The amount of damage being applied.&lt;br /&gt;
|-&lt;br /&gt;
| ARGN2 || I || The damage attributes.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the item from being damaged.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@EquipTest&amp;diff=7509</id>
		<title>@EquipTest</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@EquipTest&amp;diff=7509"/>
				<updated>2013-12-18T08:40:48Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|@EquipTest}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This trigger fires when an item is being equipped and Sphere is deciding whether or not the character is allowed to equip it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[Items]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Items|item]] being equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] || The [[Characters|character]] equipping the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''No arguments are set for this trigger.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the item from being equipped.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=7426</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=7426"/>
				<updated>2013-08-06T20:25:16Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[#Seçenekler|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEAR]] || O || Karaktere hasar veren karakterlerin kayıtlarını temizler.&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Seçenekler|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@Timer&amp;diff=7305</id>
		<title>@Timer</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@Timer&amp;diff=7305"/>
				<updated>2013-07-14T18:38:28Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when an item's timer property reaches zero.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[Items]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Items|item]] whose timer has expired.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONT]] || The [[Characters|character]] who is the container for this [[Items|item]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''No arguments are set for this trigger.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the default action taking place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@Timer&amp;diff=7304</id>
		<title>@Timer</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@Timer&amp;diff=7304"/>
				<updated>2013-07-14T18:38:17Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when an item's timer property reaches zero.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[Items]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Items|item]] whose timer has expired.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONT]] || The[[Characters|character]] who is the container for this [[Items|item]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''No arguments are set for this trigger.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the default action taking place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@Start_(Spell_Trigger)&amp;diff=7302</id>
		<title>@Start (Spell Trigger)</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@Start_(Spell_Trigger)&amp;diff=7302"/>
				<updated>2013-07-02T16:37:05Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when a character begins to cast a spell.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[SPELL|Spells]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ARGO]] || The [[Items|item]] being used to cast the spell (e.g. a wand or scroll).&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] casting the spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[SRC]] || The [[Characters|character]] casting the spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || The [[Characters|character]] or [[Items|item]] being hit by the spell.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || IO || The spell number being cast.&lt;br /&gt;
|-&lt;br /&gt;
| ARGN2 || IO || The difficulty of the spell.&lt;br /&gt;
|-&lt;br /&gt;
| ARGN3 || IO || The length of time it will take to cast the spell, in tenths of a second.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the spell from being cast.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=DIALOGLIST&amp;diff=1510</id>
		<title>DIALOGLIST</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=DIALOGLIST&amp;diff=1510"/>
				<updated>2013-02-16T15:42:01Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|DIALOGLIST}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all dialoglist properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
This parameters must use with [[#Properties and Functions|DIALOGLIST]]. For examples, please go [[#Examples|Examples]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''DIALOGLIST'''''.key'' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[COUNT]] || R || Gets the number of number of dialogs currently considered to be visible on SRC's screen.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[COUNT]] || R || Gets the number of instances of nth dialog SRC has open (zero-based).&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ID]] || R || Gets the ID of the nth dialog that SRC has open (zero-based).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
The following examples are about [[#Properties_and_Functions|dialoglist]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DIALOGLIST.COUNT'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Function dialogtotal]&lt;br /&gt;
SERV.LOG Total number of dialogs: &amp;lt;dialoglist.count&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''total number of dialogs'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DIALOGLIST'''''.n'''''.COUNT'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Function dialogtotal]&lt;br /&gt;
SERV.LOG Instant dialogs: &amp;lt;dialoglist.0.count&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''how many dialog same id with first dialog'' output to the concole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DIALOGLIST'''''.n'''''.ID'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Function dialogtotal]&lt;br /&gt;
SERV.LOG First dialog id: &amp;lt;dialoglist.0.id&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''id for first dialog'' output to the console.&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=DIALOGLIST&amp;diff=1509</id>
		<title>DIALOGLIST</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=DIALOGLIST&amp;diff=1509"/>
				<updated>2013-02-16T15:39:09Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: Created page with &amp;quot;{{Languages|DIALOGLIST}} __FORCETOC__ ==Properties and Functions== Here is a list of all dialoglist properties and functions. If a function is marked as readable then it can r...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|DIALOGLIST}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all dialoglist properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
This parameters must use with [[#Properties and Functions|DIALOGLIST]]. For examples, please go [[#Examples|Examples]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''DIALOGLIST'''''.key'' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[COUNT]] || R || Gets the number of number of dialogs currently considered to be visible on SRC's screen.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[COUNT]] || R || Gets the number of instances of nth dialog SRC has open (zero-based).&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ID]] || R || Gets the ID of the nth dialog that SRC has open (zero-based).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
The following examples are about [[#Properties_and_Functions|dialoglist]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DIALOGLIST.COUNT'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Function dialogtotal]&lt;br /&gt;
SERV.LOG Total number of dialogs: &amp;lt;dialoglist.count&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''total number of dialogs'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DIALOGLIST'''''.n'''''COUNT'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Function dialogtotal]&lt;br /&gt;
SERV.LOG Instant dialogs: &amp;lt;dialoglist.0.count&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''how many dialog same id with first dialog'' output to the concole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DIALOGLIST'''''.n'''''.ID'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Function dialogtotal]&lt;br /&gt;
SERV.LOG First dialog id: &amp;lt;dialoglist.0.id&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''id for first dialog'' output to the console.&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Es:Wiki_Translation&amp;diff=1502</id>
		<title>Es:Wiki Translation</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Es:Wiki_Translation&amp;diff=1502"/>
				<updated>2013-02-15T15:31:58Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Wiki_Translation}}&lt;br /&gt;
&lt;br /&gt;
== Guía de Wikitraducciones ==&lt;br /&gt;
Encuentra la versión en Inglés de la página a traducir en el menú principal. &amp;lt;br&amp;gt;(Si no hay versión en Inglés, crea una siguiendo la guía). &lt;br /&gt;
&lt;br /&gt;
Si la barra de idiomas no aparece en la parte superior (Tal como puedes ver en ''esta'' página, por ejemplo) entonces edita la página, y añade el siguiente wikitexto: &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Nombre_de_la_pagina_en_inglés}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Aún en el modo edición, copia todo el wikitexto de esa página en el portapapeles. 'Guarda' ahora.&lt;br /&gt;
&lt;br /&gt;
Donde dice 'Languages Missing', pincha en el vículo rojo para empezar a editar la wikipágina en ese idioma. Pega el texto copiado anteriormente y comienza a editarlo desde el Inglés hasta el idioma requerido. El título de la nueva página debería tener un prefijo de idioma.&lt;br /&gt;
&lt;br /&gt;
Ver también [[Wiki Help]].&lt;br /&gt;
&lt;br /&gt;
Nota: Antes de guardar la nueva página, tu idioma aparecerá como 'pendiente' en la previsualización. Por lo que sea, después de guardar los cambios, tu idioma aún aparece en el casillero de idiomas pendientes, con letras negras y en negrita. Estos cosas ocurren debido a un tema con la caché de la plantilla. [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_purge_a_cached_page.3F Limpia la caché] para cargar los idiomas disponibles. Tu idioma ya debería aparecer como disponible.&lt;br /&gt;
&lt;br /&gt;
== Instrucciones para la plantilla de Idioma ==&lt;br /&gt;
&lt;br /&gt;
[[Template:Idiomas|Esta]] es una plantilla específica para las paginas en Español, que lista todos los idiomas disponibles, la plantilla para las páginas en Inglés es [[Template:Languages|esta otra]]. Están basadas en [http://www.mediawiki.org/wiki/Help:Magic_words/es las funciones del analizador sintáctico] de mediawiki y el código de idiomas [[wikipedia:es:ISO 639-1|ISO 639-1]].&lt;br /&gt;
&lt;br /&gt;
=== Instrucciones a seguir ===&lt;br /&gt;
# Los nombres de las páginas deben permanecer en Inglés. &amp;lt;br&amp;gt; Cada página que vayas a traducir debe tener el mismo nombre en inglés pero precedido del prefijo de idioma y de 'dos puntos'. &amp;lt;br&amp;gt;Si la página &amp;quot;original&amp;quot; está escrita en Inglés, no necesita prefijo alguno. Pero sin embargo si la página &amp;quot;original&amp;quot; está escrita en otro idioma (ie [[Wikiprojec France]]), la traducción al inglés necesita el prefijo correspondiente &amp;quot;en&amp;quot; (Ej: [[en:WikiProject France]]). &amp;lt;br&amp;gt; Ejemplo:&amp;lt;tt&amp;gt;Nombre_de_la_pagina_en_inglés&amp;lt;/tt&amp;gt; - &amp;lt;tt&amp;gt;fr:Nombre_de_la_pagina_en_inglés&amp;lt;/tt&amp;gt; - &amp;lt;tt&amp;gt;de:Nombre_de_la_pagina_en_inglés&amp;lt;/tt&amp;gt;&lt;br /&gt;
# La siguiente cabecera debe incluirse en cada página editada en español: &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Idiomas|Nombre_de_la_pagina_en_inglés}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Si pinchas en &amp;quot;Idiomas pendientes&amp;quot;, y entonces pinchas en el vínculo rojo, automáticamente abre un vículo con el sufijo correcto a la derecha del nombre de la página. Copia el texto original de la página en Inglés, pegalo y tradúcelo. En la primera linea pon &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Idiomas|Nombre_de_la_pagina_en_inglés}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Ejemplo de los idiomas y espacios actualmente implementados (2009-6): &lt;br /&gt;
 Nombre_de_la_pagina_en_inglés&lt;br /&gt;
 DE:Nombre_de_la_pagina_en_inglés&lt;br /&gt;
 EN:Nombre_de_la_pagina_en_inglés &lt;br /&gt;
 ES:Nombre_de_la_pagina_en_inglés&lt;br /&gt;
 FR:Nombre_de_la_pagina_en_inglés&lt;br /&gt;
 IT:Nombre_de_la_pagina_en_inglés &lt;br /&gt;
 NL:Nombre_de_la_pagina_en_inglés&lt;br /&gt;
&lt;br /&gt;
Esto genera automáticamente un menú de idiomas que consiste en una serie de vínculos a la página original (en Inglés) y todas sus traducciones. Los vínculos estarán escritos en los respectivos idiomas: Alemán, Inglés, Francés, etc.&lt;br /&gt;
&lt;br /&gt;
=== Páginas con títulos en idiomas extranjeros ===&lt;br /&gt;
Para incluir las páginas con el título traducido al idioma local dentro del menú de idioma hay que hacer lo siguiente:&lt;br /&gt;
&lt;br /&gt;
En &amp;lt;code&amp;gt;XX:Nombre_de_la_pagina_en_inglés&amp;lt;/code&amp;gt; (donde XX es el prefijo del idioma, &amp;quot;ES&amp;quot; en el caso del español) debes incluir el siguiente wikitexto:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#REDIRECT [[Nombre_de_la_pagina_traducida]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En &amp;lt;code&amp;gt;XX:Título traducido de &amp;quot;Nombre_de_la_pagina_en_inglés&amp;quot;)&amp;lt;/code&amp;gt; el título en inglés debe ser añadido como parámetro en la plantilla:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Idiomas|Nombre_de_la_pagina_en_inglés}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Seleccion de Apariencia ===&lt;br /&gt;
Si quieres cambiar el diseño de la barra, traducir el mensaje o cambiar a dónde vincula el botón ''Ayuda'' para tu idioma, puedes hacerlo creando las plantillas adecuadas.&lt;br /&gt;
&lt;br /&gt;
Copia el wikitexto de [[Template:Languages/Interface]] y crea tu propia plantilla traducida.&lt;br /&gt;
Posteriormente copia la de [[Template:Languages]] y traducela también a tu propia plantilla.&lt;br /&gt;
&lt;br /&gt;
Cambia sólamente el nombre de la plantilla y las palabras &amp;quot;traducibles&amp;quot; deja el resto del código intacto para que los distintos idiomas se compenetren entre sí. Acuerdate de incluir en cada una de las páginas traducidas tu plantilla personalizada en lugar de la plantilla en Inglés.&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:Wiki_Translation&amp;diff=1501</id>
		<title>Tr:Wiki Translation</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:Wiki_Translation&amp;diff=1501"/>
				<updated>2013-02-15T15:30:38Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Wiki_Translation}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Nasıl Çeviri Yapılır==&lt;br /&gt;
Bir dökümanın ingilizce versiyonunu anasayfadan bulabilirsiniz. &amp;lt;br&amp;gt;(Eğer ingilizce versiyonu yoksa, aşağıdaki dökümandan nasıl yaratabileceğinizi öğrenebilirsiniz.)&lt;br /&gt;
&lt;br /&gt;
Eğer dil çubuğu sayfanın en üstünde görünmüyorsa (bu sayfada göründüğü gibi) sayfayı düzenlemeye geçip, aşağıdaki kodu sayfanın en üstüne yazınız:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Sayfa_Adı}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Örnek vermek gerekirse bu sayfanın adı Tr:Wiki_Translation. Fakat biz dil çubuğu belirtirken dil kullanmayacağız yani sadece ''Wiki_Translation'' kullanacağız. Fakat burada dikkat etmeniz gereken nokta, '''büyük''' ve '''küçük''' harf duyarlılığıdır. Misalen, ''Wiki'' yerine ''wiki'' yazarsanız kod çalışmayacaktır.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Wiki_Translation}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fakat unutmayınız ki, bir düzenleme yaptıktan sonra 'Save' butonu ile kaydetmezseniz, düzenlemeniz devreye girmeyecektir.&lt;br /&gt;
&lt;br /&gt;
Dil çubuğında 'missing languages' göreceksiniz. Bu Türkçe için ele aldığımızda ''Tr:''Sayfa_Adı sayfasının bulunmadığını gösterir. Bu sayfayı oluşturmak için bulunmayan (kırmızı link) bir dilin üzerine tıklayarak dil için sayfa oluşturabilirsiniz. Oluşturduğunuz sayfa dil çubuğuna sahip olmalıdır.&lt;br /&gt;
&lt;br /&gt;
Daha fazla bilgi için; [[Tr:Help:Editing|Sayfa Düzenleme]].&lt;br /&gt;
&lt;br /&gt;
'''NOT:''' Sayfayı kaydetmeden önce, sizin diliniz önizlemede dil kutusunda ''missing language'' olarak görünecektir. Fakat, kayıt ettikten sonra diliniz hala ''missing language'' olarak görünsede, bold ve siyah renkte olduğu göreceksiniz. Bunun nedeni yerleşmiş kayıtlardır. Sayfanızı yenilediğinizde otomatik olarak yerleşmiş kayıtlar yenilenmektedir, fakat bazı durumlarda yenilenmeyen kayıtları yenilemek için [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_purge_a_cached_page.3F kayıt yenileme] sayfasını ziyaret edebilir ve bulunan dilleri kontrol etmesini sağlayabilirsiniz. Daha sonra diliniz döküman için mümkün olacaktır.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dil Çubuğu Yardımı==&lt;br /&gt;
&lt;br /&gt;
[[Template:Languages|Bu önizleme]] [[wikipedia:ISO 639-1|ISO 639-1]] dil kodu için desteklenen tüm dilleri göstermektedir. Bu önizleme [[wikipedia:Help:Parser_function|parser functions]] tabanlıdır.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Açıklama===&lt;br /&gt;
# Tüm sayfalar İngilizce yazılmıştır. &amp;lt;br&amp;gt; Her çeviri yapılan sayfa dil prefixi ve devamın bulunan ingilizce sayfa adından oluşmaktadır. &amp;lt;br&amp;gt;Eğer bir sayfa ingilizce yazışmışsa, o sayfanın bir prefixe ihtiyacı yoktur. Fakat sayfa diğer dillerde yazılmışsa (ör [[WikiProject France]]), ingilizce çeviri bulunan sayfaya ''En'' prefixi verilir (ör [[En:WikiProject France]]).&lt;br /&gt;
&lt;br /&gt;
Dil uzantıları aşağıdaki gibidir (2009-6): &lt;br /&gt;
 Sayfa_Adı&lt;br /&gt;
 De:Sayfa_Adı&lt;br /&gt;
 En:Sayfa_Adı&lt;br /&gt;
 Es:Sayfa_Adı&lt;br /&gt;
 Fr:Sayfa_Adı&lt;br /&gt;
 It:Sayfa_Adı&lt;br /&gt;
 Nl:Sayfa_Adı&lt;br /&gt;
 Tr:Sayfa_Adı&lt;br /&gt;
&lt;br /&gt;
Bunlar dil menüsünden orjinal sayfaya (İngilizce olan) yönlendirmeyi otomatik olarak aktif eder. Ayrıca dilin hangi dilde yazıldığını gösterir (Türkçe, İngilizce ...).&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:Wiki_Translation&amp;diff=1500</id>
		<title>Tr:Wiki Translation</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:Wiki_Translation&amp;diff=1500"/>
				<updated>2013-02-15T15:29:39Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: Created page with &amp;quot;{{Languages|Wiki_Translation}}  ==Nasıl Çeviri Yapılır== Bir dökümanın ingilizce versiyonunu anasayfadan bulabilirsiniz. &amp;lt;br&amp;gt;(Eğer ingilizce versiyonu yoksa, aşağıd...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Wiki_Translation}}&lt;br /&gt;
&lt;br /&gt;
==Nasıl Çeviri Yapılır==&lt;br /&gt;
Bir dökümanın ingilizce versiyonunu anasayfadan bulabilirsiniz. &amp;lt;br&amp;gt;(Eğer ingilizce versiyonu yoksa, aşağıdaki dökümandan nasıl yaratabileceğinizi öğrenebilirsiniz.)&lt;br /&gt;
&lt;br /&gt;
Eğer dil çubuğu sayfanın en üstünde görünmüyorsa (bu sayfada göründüğü gibi) sayfayı düzenlemeye geçip, aşağıdaki kodu sayfanın en üstüne yazınız:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Sayfa_Adı}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Örnek vermek gerekirse bu sayfanın adı Tr:Wiki_Translation. Fakat biz dil çubuğu belirtirken dil kullanmayacağız yani sadece ''Wiki_Translation'' kullanacağız. Fakat burada dikkat etmeniz gereken nokta, '''büyük''' ve '''küçük''' harf duyarlılığıdır. Misalen, ''Wiki'' yerine ''wiki'' yazarsanız kod çalışmayacaktır.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Wiki_Translation}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fakat unutmayınız ki, bir düzenleme yaptıktan sonra 'Save' butonu ile kaydetmezseniz, düzenlemeniz devreye girmeyecektir.&lt;br /&gt;
&lt;br /&gt;
Dil çubuğında 'missing languages' göreceksiniz. Bu Türkçe için ele aldığımızda ''Tr:''Sayfa_Adı sayfasının bulunmadığını gösterir. Bu sayfayı oluşturmak için bulunmayan (kırmızı link) bir dilin üzerine tıklayarak dil için sayfa oluşturabilirsiniz. Oluşturduğunuz sayfa dil çubuğuna sahip olmalıdır.&lt;br /&gt;
&lt;br /&gt;
Daha fazla bilgi için; [[Tr:Help:Editing|Sayfa Düzenleme]].&lt;br /&gt;
&lt;br /&gt;
'''NOT:''' Sayfayı kaydetmeden önce, sizin diliniz önizlemede dil kutusunda ''missing language'' olarak görünecektir. Fakat, kayıt ettikten sonra diliniz hala ''missing language'' olarak görünsede, bold ve siyah renkte olduğu göreceksiniz. Bunun nedeni yerleşmiş kayıtlardır. Sayfanızı yenilediğinizde otomatik olarak yerleşmiş kayıtlar yenilenmektedir, fakat bazı durumlarda yenilenmeyen kayıtları yenilemek için [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_purge_a_cached_page.3F kayıt yenileme] sayfasını ziyaret edebilir ve bulunan dilleri kontrol etmesini sağlayabilirsiniz. Daha sonra diliniz döküman için mümkün olacaktır.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dil Çubuğu Yardımı==&lt;br /&gt;
&lt;br /&gt;
[[Template:Languages|Bu önizleme]] [[wikipedia:ISO 639-1|ISO 639-1]] dil kodu için desteklenen tüm dilleri göstermektedir. Bu önizleme [[wikipedia:Help:Parser_function|parser functions]] tabanlıdır.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Açıklama===&lt;br /&gt;
# Tüm sayfalar İngilizce yazılmıştır. &amp;lt;br&amp;gt; Her çeviri yapılan sayfa dil prefixi ve devamın bulunan ingilizce sayfa adından oluşmaktadır. &amp;lt;br&amp;gt;Eğer bir sayfa ingilizce yazışmışsa, o sayfanın bir prefixe ihtiyacı yoktur. Fakat sayfa diğer dillerde yazılmışsa (ör [[WikiProject France]]), ingilizce çeviri bulunan sayfaya ''En'' prefixi verilir (ör [[En:WikiProject France]]).&lt;br /&gt;
&lt;br /&gt;
Dil uzantıları aşağıdaki gibidir (2009-6): &lt;br /&gt;
 Sayfa_Adı&lt;br /&gt;
 De:Sayfa_Adı&lt;br /&gt;
 En:Sayfa_Adı&lt;br /&gt;
 Es:Sayfa_Adı&lt;br /&gt;
 Fr:Sayfa_Adı&lt;br /&gt;
 It:Sayfa_Adı&lt;br /&gt;
 Nl:Sayfa_Adı&lt;br /&gt;
 Tr:Sayfa_Adı&lt;br /&gt;
&lt;br /&gt;
Bunlar dil menüsünden orjinal sayfaya (İngilizce olan) yönlendirmeyi otomatik olarak aktif eder. Ayrıca dilin hangi dilde yazıldığını gösterir (Türkçe, İngilizce ...).&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1499</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1499"/>
				<updated>2013-02-15T15:28:18Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Seçenekler */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[#Seçenekler|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Seçenekler|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1498</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1498"/>
				<updated>2013-02-15T15:28:01Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Örnekler */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[#Redirrect Tr:ATTACKER|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Seçenekler|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1497</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1497"/>
				<updated>2013-02-15T15:27:34Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Örnekler */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[#Redirrect Tr:ATTACKER|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#REDIRECT Tr:ATTACKER|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1496</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1496"/>
				<updated>2013-02-15T15:27:22Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Örnekler */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[#Redirrect Tr:ATTACKER|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Redirect Tr:ATTACKER|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1495</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1495"/>
				<updated>2013-02-15T15:27:03Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Örnekler */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[#Redirrect Tr:ATTACKER|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Redirrect Tr:ATTACKER|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1494</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1494"/>
				<updated>2013-02-15T15:26:41Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[#Redirrect Tr:ATTACKER|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Seçenekler|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1493</id>
		<title>ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1493"/>
				<updated>2013-02-15T14:55:09Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Properties and Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all attacker properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
This parameters must use with [[#Properties and Functions|ATTACKER]]. For examples, please go [[#Examples|Examples]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''ATTACKER'''''.key'' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| || R || Gets the number of opponents who have damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || R || Gets the UID of the opponent who most recently damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || R || Gets the UID of the opponent who has dealt the most damage to the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || R || Gets the amount of damage that the nth opponent has dealt to the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || R || Gets the length of time since the nth opponent has damaged the character, in seconds. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
The following examples are about [[#Properties_and_Functions|attacker]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Number Of Attacker: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''number of attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG First Attacker: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Fourth Attacker: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''first and fourth attackers'' output to the concole.&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Attacker: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''all attackers'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Last Attacker: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''last attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Max Attacker: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the attacker who dealt the most damage to the character'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Damage from first player: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''amount of damage which first attacker has dealt'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Attack time of the first player: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the length of time since the first opponent has damaged'' output to the console.&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1492</id>
		<title>ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1492"/>
				<updated>2013-02-15T14:54:53Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Properties and Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all attacker properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
This parameters must use with [[ATTACKER|ATTACKER]]. For examples, please go [[#Examples|Examples]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''ATTACKER'''''.key'' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| || R || Gets the number of opponents who have damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || R || Gets the UID of the opponent who most recently damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || R || Gets the UID of the opponent who has dealt the most damage to the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || R || Gets the amount of damage that the nth opponent has dealt to the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || R || Gets the length of time since the nth opponent has damaged the character, in seconds. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
The following examples are about [[#Properties_and_Functions|attacker]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Number Of Attacker: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''number of attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG First Attacker: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Fourth Attacker: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''first and fourth attackers'' output to the concole.&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Attacker: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''all attackers'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Last Attacker: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''last attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Max Attacker: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the attacker who dealt the most damage to the character'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Damage from first player: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''amount of damage which first attacker has dealt'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Attack time of the first player: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the length of time since the first opponent has damaged'' output to the console.&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1491</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1491"/>
				<updated>2013-02-15T14:54:33Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Seçenekler */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[#Seçenekler|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Seçenekler|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1490</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1490"/>
				<updated>2013-02-15T14:54:21Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Seçenekler */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[ATTACKER|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Seçenekler|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1489</id>
		<title>ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1489"/>
				<updated>2013-02-15T14:54:08Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Properties and Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all attacker properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
This parameters must use with [[Tr:ATTACKER|ATTACKER]]. For examples, please go [[#Examples|Examples]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''ATTACKER'''''.key'' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| || R || Gets the number of opponents who have damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || R || Gets the UID of the opponent who most recently damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || R || Gets the UID of the opponent who has dealt the most damage to the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || R || Gets the amount of damage that the nth opponent has dealt to the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || R || Gets the length of time since the nth opponent has damaged the character, in seconds. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
The following examples are about [[#Properties_and_Functions|attacker]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Number Of Attacker: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''number of attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG First Attacker: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Fourth Attacker: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''first and fourth attackers'' output to the concole.&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Attacker: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''all attackers'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Last Attacker: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''last attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Max Attacker: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the attacker who dealt the most damage to the character'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Damage from first player: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''amount of damage which first attacker has dealt'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Attack time of the first player: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the length of time since the first opponent has damaged'' output to the console.&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1488</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1488"/>
				<updated>2013-02-15T14:53:26Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Seçenekler */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[Tr:ATTACKER|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Seçenekler|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1487</id>
		<title>Tr:ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Tr:ATTACKER&amp;diff=1487"/>
				<updated>2013-02-15T14:53:04Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Seçenekler */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Seçenekler==&lt;br /&gt;
Aşağıda attacker komutu için mümkün olan seçenekler bulunmaktadır. Eğer parametrelerden herhangi biri &amp;quot;Okunabilir&amp;quot; olarak seçilmiş ise, bu parametre &amp;lt;KOMUT&amp;gt; ile okunabileceğini gösterir. Eğer bir parametre &amp;quot;Yazılabilir&amp;quot; görünüyorsa bu parametre değiştirilebilir demektir.&lt;br /&gt;
&lt;br /&gt;
Bu parametreler [[TR:ATTACKER|ATTACKER]]. ile birlikte kullanılır. Örnekler için, [[#Örnekler|Örnekler]]e tıklayınız.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''İsim''' || '''Oku/Yaz''' || '''Açıklama'''&lt;br /&gt;
|-&lt;br /&gt;
| || O || Karaktere hasar veren toplam kişi sayısını öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || O || Karaktere hasar veren son karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || O || Karaktere en çok hasar veren karakterin UID'ini öğrenmeye yarar.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || O || Karaktere hasar veren n. karakterin saldırı süresini ''saniye'' cinsinden öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || O || Karaktere hasar veren n. karakterin UID'ini öğrenmeye yarar. (sıfır-tabanlı)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Örnekler==&lt;br /&gt;
[[#Seçenekler|Attacker]] hakkında örnekler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Saldıran Sayısı: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran toplam oyuncu sayısını'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıran: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Dördüncü Saldıran: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''birinci ve dördüncü saldıranların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
VEYA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Saldıran: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''saldıran tüm oyuncuların isimlerini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Son Saldıran: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''son saldıranın ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG En Çok Hasar Veren: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''en çok hasar verenin ismini'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Verdiği Hasar: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun verdiği hasarı'' görürsünüz.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG İlk Saldıranın Saldırı Süresi: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Konsolda ''ilk saldıran oyuncunun saldırı süresini'' saniye cinsinden görürsünüz..&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@ItemDamage&amp;diff=1484</id>
		<title>@ItemDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@ItemDamage&amp;diff=1484"/>
				<updated>2013-02-15T00:32:56Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when a character damages an item.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[Items|Items]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || The [[Items|item]] taking damage.&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] responsible for the damage.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || I || The amount of damage being applied.&lt;br /&gt;
|-&lt;br /&gt;
| ARGN2 || I || The damage attributes.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the item from being damaged.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=@ItemDamage&amp;diff=1483</id>
		<title>@ItemDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=@ItemDamage&amp;diff=1483"/>
				<updated>2013-02-15T00:32:43Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
This trigger fires when a character damages an item.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fires on:&lt;br /&gt;
* [[ITEMS|Items]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
The following object references are explicitly available for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACT]] || The [[Items|item]] taking damage.&lt;br /&gt;
|-&lt;br /&gt;
| [[I]] || The [[Characters|character]] responsible for the damage.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
The following arguments are set for this trigger. If an argument is marked as &amp;quot;In&amp;quot; then a value will be passed in to the trigger, if an argument is marked as &amp;quot;Out&amp;quot; then it can be set to a value to affect Sphere's behaviour:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Argument''' || '''In/Out''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| ARGN1 || I || The amount of damage being applied.&lt;br /&gt;
|-&lt;br /&gt;
| ARGN2 || I || The damage attributes.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Return Values==&lt;br /&gt;
The following return values are explicitly defined for this trigger:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Return Value''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Prevents the item from being damaged.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Triggers]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1478</id>
		<title>ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1478"/>
				<updated>2013-02-13T18:09:10Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Properties and Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all attacker properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
This parameters must use with ATTACKER. For examples, please go [[#Examples|Examples]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''ATTACKER'''''.key'' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| || R || Gets the number of opponents who have damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || R || Gets the UID of the opponent who most recently damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || R || Gets the UID of the opponent who has dealt the most damage to the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || R || Gets the amount of damage that the nth opponent has dealt to the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || R || Gets the length of time since the nth opponent has damaged the character, in seconds. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
The following examples are about [[#Properties_and_Functions|attacker]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Number Of Attacker: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''number of attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG First Attacker: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Fourth Attacker: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''first and fourth attackers'' output to the concole.&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Attacker: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''all attackers'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Last Attacker: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''last attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Max Attacker: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the attacker who dealt the most damage to the character'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Damage from first player: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''amount of damage which first attacker has dealt'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Attack time of the first player: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the length of time since the first opponent has damaged'' output to the console.&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1477</id>
		<title>ATTACKER</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=ATTACKER&amp;diff=1477"/>
				<updated>2013-02-13T18:07:58Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|ATTACKER}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all attacker properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
This parameters must use with ATTACKER. For examples, please go [[#Examples|Examples]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| || R || Gets the number of opponents who have damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n'' || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[LAST]] || R || Gets the UID of the opponent who most recently damaged the character.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAX]] || R || Gets the UID of the opponent who has dealt the most damage to the character.&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[DAMAGE]] || R || Gets the amount of damage that the nth opponent has dealt to the character. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[ELAPSED]] || R || Gets the length of time since the nth opponent has damaged the character, in seconds. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| ''n''.[[UID]] || R || Gets the UID of the nth opponent who has damaged the character. (zero-based)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
The following examples are about [[#Properties_and_Functions|attacker]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Number Of Attacker: &amp;lt;attacker&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''number of attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''[.UID]'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG First Attacker: &amp;lt;uid.&amp;lt;attacker.0&amp;gt;.name&amp;gt;&lt;br /&gt;
SERV.LOG Fourth Attacker: &amp;lt;uid.&amp;lt;attacker.3.uid&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''first and fourth attackers'' output to the concole.&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
for 0 &amp;lt;eval &amp;lt;ATTACKER&amp;gt;-1&amp;gt;&lt;br /&gt;
SERV.LOG &amp;lt;eval &amp;lt;DLOCAL._FOR&amp;gt;+1&amp;gt;. Attacker: &amp;lt;uid.&amp;lt;attacker.&amp;lt;dlocal._for&amp;gt;&amp;gt;.name&amp;gt;&lt;br /&gt;
endfor&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''all attackers'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.LAST'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Last Attacker: &amp;lt;uid.&amp;lt;attacker.last&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''last attacker'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER.MAX'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Max Attacker: &amp;lt;uid.&amp;lt;attacker.max&amp;gt;.name&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the attacker who dealt the most damage to the character'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.DAMAGE'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Damage from first player: &amp;lt;attacker.0.damage&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''amount of damage which first attacker has dealt'' output to the console.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ATTACKER'''''.n'''''.ELAPSED'''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;spherescript&amp;gt;&lt;br /&gt;
[Events e_example]&lt;br /&gt;
On=@Death&lt;br /&gt;
SERV.LOG Attack time of the first player: &amp;lt;attacker.0.elapsed&amp;gt;&lt;br /&gt;
&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will see ''the length of time since the first opponent has damaged'' output to the console.&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Wiki_Translation&amp;diff=1476</id>
		<title>Wiki Translation</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Wiki_Translation&amp;diff=1476"/>
				<updated>2013-02-13T17:50:56Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Wiki_Translation}}&lt;br /&gt;
&lt;br /&gt;
== Wiki Translations HOWTO ==&lt;br /&gt;
Find the English version of a page in the main namespace. &amp;lt;br&amp;gt;(If there is no english version, you create one by following the HOWTO). &lt;br /&gt;
&lt;br /&gt;
If the languages tool bar is not displayed at the top (as you see on ''this'' page for example) then edit the page, and add the following wiki text: &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
While you're editing, copy the wiki text of the entire page to your clipboard.  ...now 'Save'&lt;br /&gt;
&lt;br /&gt;
Where it says 'missing languages', follow a red link to begin creating the new wiki page. Paste in the text and start rewriting it in english. New new page title should have a language prefix.&lt;br /&gt;
&lt;br /&gt;
See also [[Wiki Help]].&lt;br /&gt;
&lt;br /&gt;
Note: before saving the new page, your language is shown as a missing language in the preview. However, after you have saved it, your language is still shown in the missing language box with black colour and bold type. This strange thing is caused by a template cache. [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_purge_a_cached_page.3F Purge cache] to rescan the available languages. Your language will be shown as available.&lt;br /&gt;
&lt;br /&gt;
== The Instructions for the Languages Template ==&lt;br /&gt;
&lt;br /&gt;
[[Template:Languages|This]] is a template that lists all languages available. It is based on [[wikipedia:Help:Parser_function|parser functions]] from mediawiki and the [[wikipedia:ISO 639-1|ISO 639-1]] language code.&lt;br /&gt;
&lt;br /&gt;
=== Brief Instruction ===&lt;br /&gt;
# All page names are in English. &amp;lt;br&amp;gt; Every translated page needs a page name with a language code as a prefix, followed by a colon and the english page name. &amp;lt;br&amp;gt;If the &amp;quot;plain&amp;quot; english page name content is written in English, the english page name does not have a prefix in the file name. If the &amp;quot;plain&amp;quot; english page name content is written in some other language (ie [[WikiProject France]]), the english translated page does need a prefix of &amp;quot;en&amp;quot; (ie [[en:WikiProject France]]). &amp;lt;br&amp;gt; Example:&amp;lt;tt&amp;gt;Page_name&amp;lt;/tt&amp;gt; - &amp;lt;tt&amp;gt;fr:Page-name&amp;lt;/tt&amp;gt; - &amp;lt;tt&amp;gt;de:Page_name&amp;lt;/tt&amp;gt;&lt;br /&gt;
# the following has to be included in each page: &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you click on &amp;quot;missing languages&amp;quot;, and then you click on a red link, it automatically opens a new page with the right suffix and the right page name. Copy the original text to this page and translate it. In the first line you put &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Example for actually implemented namespaces and languages (2009-6): &lt;br /&gt;
 Page_name&lt;br /&gt;
 DE:Page_name&lt;br /&gt;
 EN:Page_name &lt;br /&gt;
 ES:Page_name&lt;br /&gt;
 FR:Page_name &lt;br /&gt;
 IT:Page_name &lt;br /&gt;
 NL:Page_name&lt;br /&gt;
&lt;br /&gt;
This automatically generates a language menu consisting of links to the original page (in English) and all translated pages. The links are written in the respective language: Deutsch, English, Français, etc.&lt;br /&gt;
&lt;br /&gt;
=== Pages with Title in Foreign Language ===&lt;br /&gt;
Pages with names in a national language or other names can create the automatic menu by redirect:&lt;br /&gt;
&lt;br /&gt;
in &amp;lt;code&amp;gt;XX:Page_name&amp;lt;/code&amp;gt;:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#REDIRECT [[Page_name]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in &amp;lt;code&amp;gt;XX:translated title of &amp;quot;Page_name&amp;quot;)&amp;lt;/code&amp;gt; the English title has to be added as parameter in the template:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Interface Selection ===&lt;br /&gt;
If you want to change the design of the bar, translate messages or change where the ''help'' bottom links to, you can do it by adding the 2nd parameter of your design template.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Key:highway|Fi:Languages/Interface}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the [[Template:Languages/Interface]] as your first template.&lt;br /&gt;
&lt;br /&gt;
'''Note''': Technically, you can make a interface with the translated language as above, it is not recommended to use. Because '''this template is set for other language users''' to go back to their language versions, the translated messages can not be read for them. See also [[Talk:Wiki Translation|this discussion page]].&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Wiki_Translation&amp;diff=1475</id>
		<title>Wiki Translation</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Wiki_Translation&amp;diff=1475"/>
				<updated>2013-02-13T17:50:47Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Key:highway|Wiki_Translation}}&lt;br /&gt;
&lt;br /&gt;
== Wiki Translations HOWTO ==&lt;br /&gt;
Find the English version of a page in the main namespace. &amp;lt;br&amp;gt;(If there is no english version, you create one by following the HOWTO). &lt;br /&gt;
&lt;br /&gt;
If the languages tool bar is not displayed at the top (as you see on ''this'' page for example) then edit the page, and add the following wiki text: &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
While you're editing, copy the wiki text of the entire page to your clipboard.  ...now 'Save'&lt;br /&gt;
&lt;br /&gt;
Where it says 'missing languages', follow a red link to begin creating the new wiki page. Paste in the text and start rewriting it in english. New new page title should have a language prefix.&lt;br /&gt;
&lt;br /&gt;
See also [[Wiki Help]].&lt;br /&gt;
&lt;br /&gt;
Note: before saving the new page, your language is shown as a missing language in the preview. However, after you have saved it, your language is still shown in the missing language box with black colour and bold type. This strange thing is caused by a template cache. [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_purge_a_cached_page.3F Purge cache] to rescan the available languages. Your language will be shown as available.&lt;br /&gt;
&lt;br /&gt;
== The Instructions for the Languages Template ==&lt;br /&gt;
&lt;br /&gt;
[[Template:Languages|This]] is a template that lists all languages available. It is based on [[wikipedia:Help:Parser_function|parser functions]] from mediawiki and the [[wikipedia:ISO 639-1|ISO 639-1]] language code.&lt;br /&gt;
&lt;br /&gt;
=== Brief Instruction ===&lt;br /&gt;
# All page names are in English. &amp;lt;br&amp;gt; Every translated page needs a page name with a language code as a prefix, followed by a colon and the english page name. &amp;lt;br&amp;gt;If the &amp;quot;plain&amp;quot; english page name content is written in English, the english page name does not have a prefix in the file name. If the &amp;quot;plain&amp;quot; english page name content is written in some other language (ie [[WikiProject France]]), the english translated page does need a prefix of &amp;quot;en&amp;quot; (ie [[en:WikiProject France]]). &amp;lt;br&amp;gt; Example:&amp;lt;tt&amp;gt;Page_name&amp;lt;/tt&amp;gt; - &amp;lt;tt&amp;gt;fr:Page-name&amp;lt;/tt&amp;gt; - &amp;lt;tt&amp;gt;de:Page_name&amp;lt;/tt&amp;gt;&lt;br /&gt;
# the following has to be included in each page: &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you click on &amp;quot;missing languages&amp;quot;, and then you click on a red link, it automatically opens a new page with the right suffix and the right page name. Copy the original text to this page and translate it. In the first line you put &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Example for actually implemented namespaces and languages (2009-6): &lt;br /&gt;
 Page_name&lt;br /&gt;
 DE:Page_name&lt;br /&gt;
 EN:Page_name &lt;br /&gt;
 ES:Page_name&lt;br /&gt;
 FR:Page_name &lt;br /&gt;
 IT:Page_name &lt;br /&gt;
 NL:Page_name&lt;br /&gt;
&lt;br /&gt;
This automatically generates a language menu consisting of links to the original page (in English) and all translated pages. The links are written in the respective language: Deutsch, English, Français, etc.&lt;br /&gt;
&lt;br /&gt;
=== Pages with Title in Foreign Language ===&lt;br /&gt;
Pages with names in a national language or other names can create the automatic menu by redirect:&lt;br /&gt;
&lt;br /&gt;
in &amp;lt;code&amp;gt;XX:Page_name&amp;lt;/code&amp;gt;:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#REDIRECT [[Page_name]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in &amp;lt;code&amp;gt;XX:translated title of &amp;quot;Page_name&amp;quot;)&amp;lt;/code&amp;gt; the English title has to be added as parameter in the template:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Interface Selection ===&lt;br /&gt;
If you want to change the design of the bar, translate messages or change where the ''help'' bottom links to, you can do it by adding the 2nd parameter of your design template.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Key:highway|Fi:Languages/Interface}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the [[Template:Languages/Interface]] as your first template.&lt;br /&gt;
&lt;br /&gt;
'''Note''': Technically, you can make a interface with the translated language as above, it is not recommended to use. Because '''this template is set for other language users''' to go back to their language versions, the translated messages can not be read for them. See also [[Talk:Wiki Translation|this discussion page]].&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Wiki_Translation&amp;diff=1474</id>
		<title>Wiki Translation</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Wiki_Translation&amp;diff=1474"/>
				<updated>2013-02-13T17:50:28Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Key:highway|Fi:Languages/Interface}}&lt;br /&gt;
&lt;br /&gt;
== Wiki Translations HOWTO ==&lt;br /&gt;
Find the English version of a page in the main namespace. &amp;lt;br&amp;gt;(If there is no english version, you create one by following the HOWTO). &lt;br /&gt;
&lt;br /&gt;
If the languages tool bar is not displayed at the top (as you see on ''this'' page for example) then edit the page, and add the following wiki text: &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
While you're editing, copy the wiki text of the entire page to your clipboard.  ...now 'Save'&lt;br /&gt;
&lt;br /&gt;
Where it says 'missing languages', follow a red link to begin creating the new wiki page. Paste in the text and start rewriting it in english. New new page title should have a language prefix.&lt;br /&gt;
&lt;br /&gt;
See also [[Wiki Help]].&lt;br /&gt;
&lt;br /&gt;
Note: before saving the new page, your language is shown as a missing language in the preview. However, after you have saved it, your language is still shown in the missing language box with black colour and bold type. This strange thing is caused by a template cache. [http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_purge_a_cached_page.3F Purge cache] to rescan the available languages. Your language will be shown as available.&lt;br /&gt;
&lt;br /&gt;
== The Instructions for the Languages Template ==&lt;br /&gt;
&lt;br /&gt;
[[Template:Languages|This]] is a template that lists all languages available. It is based on [[wikipedia:Help:Parser_function|parser functions]] from mediawiki and the [[wikipedia:ISO 639-1|ISO 639-1]] language code.&lt;br /&gt;
&lt;br /&gt;
=== Brief Instruction ===&lt;br /&gt;
# All page names are in English. &amp;lt;br&amp;gt; Every translated page needs a page name with a language code as a prefix, followed by a colon and the english page name. &amp;lt;br&amp;gt;If the &amp;quot;plain&amp;quot; english page name content is written in English, the english page name does not have a prefix in the file name. If the &amp;quot;plain&amp;quot; english page name content is written in some other language (ie [[WikiProject France]]), the english translated page does need a prefix of &amp;quot;en&amp;quot; (ie [[en:WikiProject France]]). &amp;lt;br&amp;gt; Example:&amp;lt;tt&amp;gt;Page_name&amp;lt;/tt&amp;gt; - &amp;lt;tt&amp;gt;fr:Page-name&amp;lt;/tt&amp;gt; - &amp;lt;tt&amp;gt;de:Page_name&amp;lt;/tt&amp;gt;&lt;br /&gt;
# the following has to be included in each page: &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you click on &amp;quot;missing languages&amp;quot;, and then you click on a red link, it automatically opens a new page with the right suffix and the right page name. Copy the original text to this page and translate it. In the first line you put &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Example for actually implemented namespaces and languages (2009-6): &lt;br /&gt;
 Page_name&lt;br /&gt;
 DE:Page_name&lt;br /&gt;
 EN:Page_name &lt;br /&gt;
 ES:Page_name&lt;br /&gt;
 FR:Page_name &lt;br /&gt;
 IT:Page_name &lt;br /&gt;
 NL:Page_name&lt;br /&gt;
&lt;br /&gt;
This automatically generates a language menu consisting of links to the original page (in English) and all translated pages. The links are written in the respective language: Deutsch, English, Français, etc.&lt;br /&gt;
&lt;br /&gt;
=== Pages with Title in Foreign Language ===&lt;br /&gt;
Pages with names in a national language or other names can create the automatic menu by redirect:&lt;br /&gt;
&lt;br /&gt;
in &amp;lt;code&amp;gt;XX:Page_name&amp;lt;/code&amp;gt;:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#REDIRECT [[Page_name]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in &amp;lt;code&amp;gt;XX:translated title of &amp;quot;Page_name&amp;quot;)&amp;lt;/code&amp;gt; the English title has to be added as parameter in the template:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Page_name}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Interface Selection ===&lt;br /&gt;
If you want to change the design of the bar, translate messages or change where the ''help'' bottom links to, you can do it by adding the 2nd parameter of your design template.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Languages|Key:highway|Fi:Languages/Interface}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the [[Template:Languages/Interface]] as your first template.&lt;br /&gt;
&lt;br /&gt;
'''Note''': Technically, you can make a interface with the translated language as above, it is not recommended to use. Because '''this template is set for other language users''' to go back to their language versions, the translated messages can not be read for them. See also [[Talk:Wiki Translation|this discussion page]].&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Items&amp;diff=1470</id>
		<title>Items</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Items&amp;diff=1470"/>
				<updated>2013-02-12T22:23:42Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Items}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
Generally speaking, there are two types of &amp;quot;things&amp;quot; in the game; characters and items. Compared to characters, items are very complex. Items have a number of different uses, for example a sword is an item that players can see and equip to increase the damage they can do in combat. Some items in the game can not be seen by the players, but they have as much impact on the player as their sword, for example, a memory item is equipped every time a player is under the effects of a spell. Some [[Special Items|special types of item]] also have additional properties that can be accessed via scripts. The following tables detail the various properties of items in SphereServer:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[CONT]] || RW || Gets or sets the [[Characters|character]] or [[Special Items#Containers|container item]] that the object is inside.&lt;br /&gt;
|-&lt;br /&gt;
| [[LINK]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that the item is linked to.&lt;br /&gt;
|-&lt;br /&gt;
| [[Regions|REGION]] || R || Gets the [[Regions|region]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[ROOM]] || R || Gets the [[Rooms|room]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[P]] || RW || Gets or sets the [[Map Points|position]] that the object is at.&lt;br /&gt;
|-&lt;br /&gt;
| [[Sectors|SECTOR]] || R || Gets the [[Sectors|sector]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOPOBJ]] || R || Gets the top-most [[Characters|character]] or [[Items|item]] in the world that contains the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPEDEF (Reference)|TYPEDEF]] || R || Gets the [[ITEMDEF]] that defines the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all item properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples. If an attempt is made to access a property that does not exist on the item, the property from the [[ITEMDEF]] will be accessed instead.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDCIRCLE]] ''spell_circle'' || W || Adds all of the spells in the given circle to the spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDSPELL]] ''spell_id'' || RW || Gets whether or not a spell exists in the spellbook, or adds a spell to the spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[AMOUNT]] || RW || Gets the amount of this items this item represent (e.g. a pile of gold).&lt;br /&gt;
|-&lt;br /&gt;
| [[ATTR]] || RW || Gets or sets the item's attribute flags.&lt;br /&gt;
|-&lt;br /&gt;
| [[BOUNCE]] || W || Moves the item to SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEE]] || R || Returns 1 if SRC can see the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOS]] || R || Returns 1 if SRC has line of sight to the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOSFLAG]] ''flags'' || R || Returns 1 if SRC has line of sight to the item, with flags to modify what tests take place.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARTAGS]] ''prefix'' || W || Removes all TAGs from the item that start with the given prefix.&lt;br /&gt;
|-&lt;br /&gt;
| [[COLOR]] || RW || Gets or sets the object's hue.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONSUME]] ''amount'' || W || Deducts an amount from the item, deleting it at 0.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTCONSUME]] ''resource_list'' || W || Deletes items from inside the container.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTGRID]] || RW || If in a container, gets or sets the grid number that the item occupies (in KR's grid view)&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTP]] || RW || Gets or sets the position of the item within its container.&lt;br /&gt;
|-&lt;br /&gt;
| [[DAMAGE]] ''amount, type, source'' || W || Inflicts damage upon the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[DCLICK]] || W || Double clicks the item, with SRC as the source of the event.&lt;br /&gt;
|-&lt;br /&gt;
| [[DECAY]] ''time'' || W || Sets the decay timer for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOG (Function)|DIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPID]] || RW || Gets or sets the ID that the item will appear as to players.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPIDDEC]] || RW || Same as [[DISPID]], except it returns the ID as a decimal number.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISTANCE]] ''point_or_uid'' || R || Gets the distance between this object and either SRC, a map location or another object.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGCOLD]] || RW || Gets or sets the amount of cold damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGENERGY]] || RW || Gets or sets the amount of energy damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGFIRE]] || RW || Gets or sets the amount of fire damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGPOISON]] || RW || Gets or sets the amount of poison damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DROP]] || W || Drops the item to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[DUPE]] || W || Clones the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[EDIT]] || W || Displays an editing dialog for the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EFFECT]] ''type, item_id, speed, loop, explode, colour, rendermode'' || W || Displays an effect to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EMOTE]] ''message'' || W || Displays a *You see* message to all nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIP]] || W || Equips the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EVENTS (Property)|EVENTS]] ''event_defname'' || RW || Gets a list of events attached to the object, or adds or removes an event to or from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIX]] || W || Re-aligns the item's Z level to ground level.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLIP]] || W || Rotates the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[FRUIT]] || RW || Gets or sets the fruit that will be produced by the crops.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEIGHT]] || R || Gets the height of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITS]] || RW || Gets or sets the number of hitpoints the item has.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITPOINTS]] || RW || Gets or sets the number of hitpoints the item has.&lt;br /&gt;
|-&lt;br /&gt;
| [[ID]] || RW || Gets or sets the ID of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFO]] || W || Displays an information dialog about the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISARMOR]] ''object_uid'' || R || Returns 1 if the object is armour.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCHAR]] || R || Returns 1 if the object is a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCONT]] || R || Returns 1 if the object is a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to it.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISITEM]] || R || Returns 1 if the object is an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPE]] ''type, distance, flags'' || R || Returns 1 if a nearby item has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPETOP]] ''type, distance, flags'' || R || Returns a nearby world location of a nearby item which has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISPLAYER]] || R || Returns 1 if the object is a player.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISTEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to its ITEMDEF.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISWEAPON]] ''object_uid'' || R || Returns 1 if the object is a weapon.&lt;br /&gt;
|-&lt;br /&gt;
| [[LAYER]] || RW || Gets or sets the layer that the item occupies when equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]] || RW || Gets or sets the map that this object is located.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXHITS]] || RW || Gets or sets the maximum number of hitpoints the item can have.&lt;br /&gt;
|-&lt;br /&gt;
| [[MENU (Function)|MENU]] ''menu_defname'' || W || Displays a menu to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGE]] ''message'' || W || Displays a message above this item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGEUA]] ''colour, talkmode, font, lang_id, message'' || W || Displays a UNICODE message above this item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODAR]] || RW || Gets or sets a modifier for the item's armour rating.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1]] || RW || Gets or sets the MORE1 value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1H]] || RW || Gets or sets the upper 4 bytes of the item's MORE1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1L]] || RW || Gets or sets the lower 4 bytes of the item's MORE1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2]] || RW || Gets or sets the MORE2 value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2H]] || RW || Gets or sets the upper 4 bytes of the item's MORE2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2L]] || RW || Gets or sets the lower 4 bytes of the item's MORE2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREM]] || RW || Gets or sets the MOREM value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREX]] || RW || Gets or sets the MOREX value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREY]] || RW || Gets or sets the MOREY value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREZ]] || RW || Gets or sets the MOREZ value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREP]] || RW || Gets or sets the MOREP value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVE]] ''direction, amount''&amp;lt;br /&amp;gt; [[MOVE]] ''x y'' || W || Moves the object relative to its current position.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVENEAR]] ''object_uid, distance'' || W || Moves the object to a random location near another object within a certain distance.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVETO]] ''location'' || W || Moves the object to a specific location.&lt;br /&gt;
|-&lt;br /&gt;
| [[NAME]] || RW || Gets or sets the object's name.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEDOWN]] ''amount'' || W || Decreases the object's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEUP]] ''amount'' || W || Increases the object's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLE]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLEU]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function, supporting UNICODE response.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVE]] || W || Deletes the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVEFROMVIEW]] || W || Removes the object from nearby clients' screens.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESENDTOOLTIP]] || W || Forces Sphere to update the tooltips for nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAY]] ''message'' || W || Makes the object speak a message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYU]] ''message'' || W || Makes the object speak a UTF-8 message&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYUA]] ''colour, talkmode, font, lang_id, text'' || W || MAkes the object speak a UNICODE message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SDIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC, providing that it is not already open.&lt;br /&gt;
|-&lt;br /&gt;
| [[SERIAL]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[SEXTANTP]] ''location'' || R || Converts the item's location or a specified location into sextant coordinates.&lt;br /&gt;
|-&lt;br /&gt;
| [[SOUND]] ''sound_id, repeat'' || W || Plays a sound from this object.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELLEFFECT]] ''spell_id, strength, source_character_uid, source_item_uid'' || W || Causes the item to be affected by a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAG]]''.name'' || RW || Gets or sets the value of a TAG.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index'' || R || Gets a TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.KEY || R || Gets the name of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.VAL || R || Gets the value of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGCOUNT]] || R || Gets the number of TAGs stored on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGLIST]] || W || Outputs a list of the object's TAGs.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGET]]''FGMW'' ''function'' || W || Displays a targeting cursor to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMER]] || RW || Gets or sets the length of time before the item's timer expires, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERD]] || RW || Gets or sets the length of time before the item's timer expires, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''time, function'' || W || Scheduled a function to be executed on this object in ''time'' seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] CLEAR || W || Clears all scheduled functions from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[TRIGGER]] ''trig_name, trig_type'' || R || Fires a custom trigger and returns the RETURN value.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPE]] || RW || Gets or sets the item type.  You can use built-in or custom [[TYPEDEF]]s as a value.&lt;br /&gt;
|-&lt;br /&gt;
| [[UID]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNEQUIP]] || W || Unequips the item and places it in SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATE]] || W || Updates the state of the item to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATEX]] || W || Updates the state of the item to nearby clients, removing it from their view first to ensure a full refresh.&lt;br /&gt;
|-&lt;br /&gt;
| [[USE]] ''check_los'' || W || Uses the item, as if SRC had double clicked it.&lt;br /&gt;
|-&lt;br /&gt;
| [[USEITEM]] || W || Double clicks the item, with SRC as the source of the event, without checking for line of sight.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEIGHT]] || R || Gets the weight of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[Z]] || R || Gets the Z position of the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Triggers==&lt;br /&gt;
Here is a list of all item triggers. Click on the trigger name for more detailed information such as arguments and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[@AfterClick]] || Fires when the object has been single-clicked, just before the overhead name is shown.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Buy]] || Fires when the item is being bought from a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Click]] || Fires when the object has been single-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ClientTooltip]] || Fires when tooltips are about to be sent to a client.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuRequest]] || Fires when a client requests the context menu options for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuSelect]] || Fires when a client selects a context menu option for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Create]] || Fires when the object is initially created, before it is placed in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Damage]] || Fires when the item receives damage.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DClick]] || Fires when the object is double-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Destroy]] || Fires when the object is being deleted.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Char]] || Fires when the item has been dropped on to a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Ground]] || Fires when the item has been dropped on to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Item]] || Fires when the item is dropped on to another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Self]] || Fires when an item has been dropped on to this item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Equip]] || Fires when the item has been equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[@EquipTest]] || Fires when the item is about to be equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Ground]] || Fires when the item ihas been picked up from the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Pack]] || Fires when the item is picked up from inside a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Self]] || Fires when an item has been picked up from inside the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Stack]] || Fires when the item is picked up from a stack.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Sell]] || Fires when the item is sold to a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellEffect]] || Fires when the object is hit by the effects of a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Step]] || Fires when a character steps on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Cancel]] || Fires when a target is cancelled from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Char]] || Fires when a character is targeted from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Ground]] || Fires when the ground is targeted from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Item]] || Fires when an item is targeted from this item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Timer]] || Fires when the item's timer expires.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ToolTip]] || Fires when old-style tooltips are requested for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UnEquip]] || Fires when the item is unequipped.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Items&amp;diff=1469</id>
		<title>Items</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Items&amp;diff=1469"/>
				<updated>2013-02-12T22:23:20Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Items}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
Generally speaking, there are two types of &amp;quot;things&amp;quot; in the game; characters and items. Compared to characters, items are very complex. Items have a number of different uses, for example a sword is an item that players can see and equip to increase the damage they can do in combat. Some items in the game can not be seen by the players, but they have as much impact on the player as their sword, for example, a memory item is equipped every time a player is under the effects of a spell. Some [[Special Items|special types of item]] also have additional properties that can be accessed via scripts. The following tables detail the various properties of items in SphereServer:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[CONT]] || RW || Gets or sets the [[Characters|character]] or [[Special Items#Containers|container item]] that the object is inside.&lt;br /&gt;
|-&lt;br /&gt;
| [[LINK]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that the item is linked to.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGION]] || R || Gets the [[Regions|region]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[ROOM]] || R || Gets the [[Rooms|room]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[P]] || RW || Gets or sets the [[Map Points|position]] that the object is at.&lt;br /&gt;
|-&lt;br /&gt;
| [[Sectors|SECTOR]] || R || Gets the [[Sectors|sector]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOPOBJ]] || R || Gets the top-most [[Characters|character]] or [[Items|item]] in the world that contains the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPEDEF (Reference)|TYPEDEF]] || R || Gets the [[ITEMDEF]] that defines the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all item properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples. If an attempt is made to access a property that does not exist on the item, the property from the [[ITEMDEF]] will be accessed instead.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDCIRCLE]] ''spell_circle'' || W || Adds all of the spells in the given circle to the spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDSPELL]] ''spell_id'' || RW || Gets whether or not a spell exists in the spellbook, or adds a spell to the spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[AMOUNT]] || RW || Gets the amount of this items this item represent (e.g. a pile of gold).&lt;br /&gt;
|-&lt;br /&gt;
| [[ATTR]] || RW || Gets or sets the item's attribute flags.&lt;br /&gt;
|-&lt;br /&gt;
| [[BOUNCE]] || W || Moves the item to SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEE]] || R || Returns 1 if SRC can see the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOS]] || R || Returns 1 if SRC has line of sight to the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOSFLAG]] ''flags'' || R || Returns 1 if SRC has line of sight to the item, with flags to modify what tests take place.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARTAGS]] ''prefix'' || W || Removes all TAGs from the item that start with the given prefix.&lt;br /&gt;
|-&lt;br /&gt;
| [[COLOR]] || RW || Gets or sets the object's hue.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONSUME]] ''amount'' || W || Deducts an amount from the item, deleting it at 0.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTCONSUME]] ''resource_list'' || W || Deletes items from inside the container.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTGRID]] || RW || If in a container, gets or sets the grid number that the item occupies (in KR's grid view)&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTP]] || RW || Gets or sets the position of the item within its container.&lt;br /&gt;
|-&lt;br /&gt;
| [[DAMAGE]] ''amount, type, source'' || W || Inflicts damage upon the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[DCLICK]] || W || Double clicks the item, with SRC as the source of the event.&lt;br /&gt;
|-&lt;br /&gt;
| [[DECAY]] ''time'' || W || Sets the decay timer for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOG (Function)|DIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPID]] || RW || Gets or sets the ID that the item will appear as to players.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPIDDEC]] || RW || Same as [[DISPID]], except it returns the ID as a decimal number.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISTANCE]] ''point_or_uid'' || R || Gets the distance between this object and either SRC, a map location or another object.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGCOLD]] || RW || Gets or sets the amount of cold damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGENERGY]] || RW || Gets or sets the amount of energy damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGFIRE]] || RW || Gets or sets the amount of fire damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGPOISON]] || RW || Gets or sets the amount of poison damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DROP]] || W || Drops the item to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[DUPE]] || W || Clones the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[EDIT]] || W || Displays an editing dialog for the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EFFECT]] ''type, item_id, speed, loop, explode, colour, rendermode'' || W || Displays an effect to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EMOTE]] ''message'' || W || Displays a *You see* message to all nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIP]] || W || Equips the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EVENTS (Property)|EVENTS]] ''event_defname'' || RW || Gets a list of events attached to the object, or adds or removes an event to or from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIX]] || W || Re-aligns the item's Z level to ground level.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLIP]] || W || Rotates the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[FRUIT]] || RW || Gets or sets the fruit that will be produced by the crops.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEIGHT]] || R || Gets the height of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITS]] || RW || Gets or sets the number of hitpoints the item has.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITPOINTS]] || RW || Gets or sets the number of hitpoints the item has.&lt;br /&gt;
|-&lt;br /&gt;
| [[ID]] || RW || Gets or sets the ID of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFO]] || W || Displays an information dialog about the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISARMOR]] ''object_uid'' || R || Returns 1 if the object is armour.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCHAR]] || R || Returns 1 if the object is a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCONT]] || R || Returns 1 if the object is a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to it.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISITEM]] || R || Returns 1 if the object is an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPE]] ''type, distance, flags'' || R || Returns 1 if a nearby item has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPETOP]] ''type, distance, flags'' || R || Returns a nearby world location of a nearby item which has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISPLAYER]] || R || Returns 1 if the object is a player.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISTEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to its ITEMDEF.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISWEAPON]] ''object_uid'' || R || Returns 1 if the object is a weapon.&lt;br /&gt;
|-&lt;br /&gt;
| [[LAYER]] || RW || Gets or sets the layer that the item occupies when equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]] || RW || Gets or sets the map that this object is located.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXHITS]] || RW || Gets or sets the maximum number of hitpoints the item can have.&lt;br /&gt;
|-&lt;br /&gt;
| [[MENU (Function)|MENU]] ''menu_defname'' || W || Displays a menu to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGE]] ''message'' || W || Displays a message above this item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGEUA]] ''colour, talkmode, font, lang_id, message'' || W || Displays a UNICODE message above this item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODAR]] || RW || Gets or sets a modifier for the item's armour rating.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1]] || RW || Gets or sets the MORE1 value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1H]] || RW || Gets or sets the upper 4 bytes of the item's MORE1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1L]] || RW || Gets or sets the lower 4 bytes of the item's MORE1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2]] || RW || Gets or sets the MORE2 value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2H]] || RW || Gets or sets the upper 4 bytes of the item's MORE2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2L]] || RW || Gets or sets the lower 4 bytes of the item's MORE2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREM]] || RW || Gets or sets the MOREM value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREX]] || RW || Gets or sets the MOREX value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREY]] || RW || Gets or sets the MOREY value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREZ]] || RW || Gets or sets the MOREZ value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREP]] || RW || Gets or sets the MOREP value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVE]] ''direction, amount''&amp;lt;br /&amp;gt; [[MOVE]] ''x y'' || W || Moves the object relative to its current position.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVENEAR]] ''object_uid, distance'' || W || Moves the object to a random location near another object within a certain distance.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVETO]] ''location'' || W || Moves the object to a specific location.&lt;br /&gt;
|-&lt;br /&gt;
| [[NAME]] || RW || Gets or sets the object's name.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEDOWN]] ''amount'' || W || Decreases the object's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEUP]] ''amount'' || W || Increases the object's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLE]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLEU]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function, supporting UNICODE response.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVE]] || W || Deletes the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVEFROMVIEW]] || W || Removes the object from nearby clients' screens.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESENDTOOLTIP]] || W || Forces Sphere to update the tooltips for nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAY]] ''message'' || W || Makes the object speak a message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYU]] ''message'' || W || Makes the object speak a UTF-8 message&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYUA]] ''colour, talkmode, font, lang_id, text'' || W || MAkes the object speak a UNICODE message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SDIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC, providing that it is not already open.&lt;br /&gt;
|-&lt;br /&gt;
| [[SERIAL]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[SEXTANTP]] ''location'' || R || Converts the item's location or a specified location into sextant coordinates.&lt;br /&gt;
|-&lt;br /&gt;
| [[SOUND]] ''sound_id, repeat'' || W || Plays a sound from this object.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELLEFFECT]] ''spell_id, strength, source_character_uid, source_item_uid'' || W || Causes the item to be affected by a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAG]]''.name'' || RW || Gets or sets the value of a TAG.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index'' || R || Gets a TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.KEY || R || Gets the name of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.VAL || R || Gets the value of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGCOUNT]] || R || Gets the number of TAGs stored on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGLIST]] || W || Outputs a list of the object's TAGs.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGET]]''FGMW'' ''function'' || W || Displays a targeting cursor to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMER]] || RW || Gets or sets the length of time before the item's timer expires, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERD]] || RW || Gets or sets the length of time before the item's timer expires, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''time, function'' || W || Scheduled a function to be executed on this object in ''time'' seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] CLEAR || W || Clears all scheduled functions from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[TRIGGER]] ''trig_name, trig_type'' || R || Fires a custom trigger and returns the RETURN value.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPE]] || RW || Gets or sets the item type.  You can use built-in or custom [[TYPEDEF]]s as a value.&lt;br /&gt;
|-&lt;br /&gt;
| [[UID]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNEQUIP]] || W || Unequips the item and places it in SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATE]] || W || Updates the state of the item to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATEX]] || W || Updates the state of the item to nearby clients, removing it from their view first to ensure a full refresh.&lt;br /&gt;
|-&lt;br /&gt;
| [[USE]] ''check_los'' || W || Uses the item, as if SRC had double clicked it.&lt;br /&gt;
|-&lt;br /&gt;
| [[USEITEM]] || W || Double clicks the item, with SRC as the source of the event, without checking for line of sight.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEIGHT]] || R || Gets the weight of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[Z]] || R || Gets the Z position of the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Triggers==&lt;br /&gt;
Here is a list of all item triggers. Click on the trigger name for more detailed information such as arguments and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[@AfterClick]] || Fires when the object has been single-clicked, just before the overhead name is shown.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Buy]] || Fires when the item is being bought from a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Click]] || Fires when the object has been single-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ClientTooltip]] || Fires when tooltips are about to be sent to a client.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuRequest]] || Fires when a client requests the context menu options for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuSelect]] || Fires when a client selects a context menu option for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Create]] || Fires when the object is initially created, before it is placed in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Damage]] || Fires when the item receives damage.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DClick]] || Fires when the object is double-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Destroy]] || Fires when the object is being deleted.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Char]] || Fires when the item has been dropped on to a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Ground]] || Fires when the item has been dropped on to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Item]] || Fires when the item is dropped on to another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Self]] || Fires when an item has been dropped on to this item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Equip]] || Fires when the item has been equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[@EquipTest]] || Fires when the item is about to be equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Ground]] || Fires when the item ihas been picked up from the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Pack]] || Fires when the item is picked up from inside a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Self]] || Fires when an item has been picked up from inside the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Stack]] || Fires when the item is picked up from a stack.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Sell]] || Fires when the item is sold to a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellEffect]] || Fires when the object is hit by the effects of a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Step]] || Fires when a character steps on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Cancel]] || Fires when a target is cancelled from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Char]] || Fires when a character is targeted from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Ground]] || Fires when the ground is targeted from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Item]] || Fires when an item is targeted from this item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Timer]] || Fires when the item's timer expires.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ToolTip]] || Fires when old-style tooltips are requested for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UnEquip]] || Fires when the item is unequipped.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Items&amp;diff=1468</id>
		<title>Items</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Items&amp;diff=1468"/>
				<updated>2013-02-12T22:22:58Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Items}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
Generally speaking, there are two types of &amp;quot;things&amp;quot; in the game; characters and items. Compared to characters, items are very complex. Items have a number of different uses, for example a sword is an item that players can see and equip to increase the damage they can do in combat. Some items in the game can not be seen by the players, but they have as much impact on the player as their sword, for example, a memory item is equipped every time a player is under the effects of a spell. Some [[Special Items|special types of item]] also have additional properties that can be accessed via scripts. The following tables detail the various properties of items in SphereServer:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[CONT]] || RW || Gets or sets the [[Characters|character]] or [[Special Items#Containers|container item]] that the object is inside.&lt;br /&gt;
|-&lt;br /&gt;
| [[LINK]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that the item is linked to.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGION]] || R || Gets the [[Regions|region]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[ROOM]] || R || Gets the [[Rooms|room]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[P]] || RW || Gets or sets the [[Map Points|position]] that the object is at.&lt;br /&gt;
|-&lt;br /&gt;
| [[SECTOR|SECTOR]] || R || Gets the [[Sectors|sector]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOPOBJ]] || R || Gets the top-most [[Characters|character]] or [[Items|item]] in the world that contains the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPEDEF (Reference)|TYPEDEF]] || R || Gets the [[ITEMDEF]] that defines the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all item properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples. If an attempt is made to access a property that does not exist on the item, the property from the [[ITEMDEF]] will be accessed instead.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDCIRCLE]] ''spell_circle'' || W || Adds all of the spells in the given circle to the spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDSPELL]] ''spell_id'' || RW || Gets whether or not a spell exists in the spellbook, or adds a spell to the spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[AMOUNT]] || RW || Gets the amount of this items this item represent (e.g. a pile of gold).&lt;br /&gt;
|-&lt;br /&gt;
| [[ATTR]] || RW || Gets or sets the item's attribute flags.&lt;br /&gt;
|-&lt;br /&gt;
| [[BOUNCE]] || W || Moves the item to SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEE]] || R || Returns 1 if SRC can see the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOS]] || R || Returns 1 if SRC has line of sight to the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOSFLAG]] ''flags'' || R || Returns 1 if SRC has line of sight to the item, with flags to modify what tests take place.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARTAGS]] ''prefix'' || W || Removes all TAGs from the item that start with the given prefix.&lt;br /&gt;
|-&lt;br /&gt;
| [[COLOR]] || RW || Gets or sets the object's hue.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONSUME]] ''amount'' || W || Deducts an amount from the item, deleting it at 0.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTCONSUME]] ''resource_list'' || W || Deletes items from inside the container.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTGRID]] || RW || If in a container, gets or sets the grid number that the item occupies (in KR's grid view)&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTP]] || RW || Gets or sets the position of the item within its container.&lt;br /&gt;
|-&lt;br /&gt;
| [[DAMAGE]] ''amount, type, source'' || W || Inflicts damage upon the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[DCLICK]] || W || Double clicks the item, with SRC as the source of the event.&lt;br /&gt;
|-&lt;br /&gt;
| [[DECAY]] ''time'' || W || Sets the decay timer for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOG (Function)|DIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPID]] || RW || Gets or sets the ID that the item will appear as to players.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPIDDEC]] || RW || Same as [[DISPID]], except it returns the ID as a decimal number.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISTANCE]] ''point_or_uid'' || R || Gets the distance between this object and either SRC, a map location or another object.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGCOLD]] || RW || Gets or sets the amount of cold damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGENERGY]] || RW || Gets or sets the amount of energy damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGFIRE]] || RW || Gets or sets the amount of fire damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGPOISON]] || RW || Gets or sets the amount of poison damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DROP]] || W || Drops the item to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[DUPE]] || W || Clones the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[EDIT]] || W || Displays an editing dialog for the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EFFECT]] ''type, item_id, speed, loop, explode, colour, rendermode'' || W || Displays an effect to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EMOTE]] ''message'' || W || Displays a *You see* message to all nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIP]] || W || Equips the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EVENTS (Property)|EVENTS]] ''event_defname'' || RW || Gets a list of events attached to the object, or adds or removes an event to or from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIX]] || W || Re-aligns the item's Z level to ground level.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLIP]] || W || Rotates the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[FRUIT]] || RW || Gets or sets the fruit that will be produced by the crops.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEIGHT]] || R || Gets the height of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITS]] || RW || Gets or sets the number of hitpoints the item has.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITPOINTS]] || RW || Gets or sets the number of hitpoints the item has.&lt;br /&gt;
|-&lt;br /&gt;
| [[ID]] || RW || Gets or sets the ID of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFO]] || W || Displays an information dialog about the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISARMOR]] ''object_uid'' || R || Returns 1 if the object is armour.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCHAR]] || R || Returns 1 if the object is a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCONT]] || R || Returns 1 if the object is a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to it.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISITEM]] || R || Returns 1 if the object is an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPE]] ''type, distance, flags'' || R || Returns 1 if a nearby item has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPETOP]] ''type, distance, flags'' || R || Returns a nearby world location of a nearby item which has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISPLAYER]] || R || Returns 1 if the object is a player.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISTEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to its ITEMDEF.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISWEAPON]] ''object_uid'' || R || Returns 1 if the object is a weapon.&lt;br /&gt;
|-&lt;br /&gt;
| [[LAYER]] || RW || Gets or sets the layer that the item occupies when equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]] || RW || Gets or sets the map that this object is located.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXHITS]] || RW || Gets or sets the maximum number of hitpoints the item can have.&lt;br /&gt;
|-&lt;br /&gt;
| [[MENU (Function)|MENU]] ''menu_defname'' || W || Displays a menu to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGE]] ''message'' || W || Displays a message above this item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGEUA]] ''colour, talkmode, font, lang_id, message'' || W || Displays a UNICODE message above this item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODAR]] || RW || Gets or sets a modifier for the item's armour rating.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1]] || RW || Gets or sets the MORE1 value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1H]] || RW || Gets or sets the upper 4 bytes of the item's MORE1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1L]] || RW || Gets or sets the lower 4 bytes of the item's MORE1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2]] || RW || Gets or sets the MORE2 value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2H]] || RW || Gets or sets the upper 4 bytes of the item's MORE2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2L]] || RW || Gets or sets the lower 4 bytes of the item's MORE2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREM]] || RW || Gets or sets the MOREM value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREX]] || RW || Gets or sets the MOREX value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREY]] || RW || Gets or sets the MOREY value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREZ]] || RW || Gets or sets the MOREZ value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREP]] || RW || Gets or sets the MOREP value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVE]] ''direction, amount''&amp;lt;br /&amp;gt; [[MOVE]] ''x y'' || W || Moves the object relative to its current position.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVENEAR]] ''object_uid, distance'' || W || Moves the object to a random location near another object within a certain distance.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVETO]] ''location'' || W || Moves the object to a specific location.&lt;br /&gt;
|-&lt;br /&gt;
| [[NAME]] || RW || Gets or sets the object's name.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEDOWN]] ''amount'' || W || Decreases the object's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEUP]] ''amount'' || W || Increases the object's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLE]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLEU]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function, supporting UNICODE response.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVE]] || W || Deletes the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVEFROMVIEW]] || W || Removes the object from nearby clients' screens.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESENDTOOLTIP]] || W || Forces Sphere to update the tooltips for nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAY]] ''message'' || W || Makes the object speak a message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYU]] ''message'' || W || Makes the object speak a UTF-8 message&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYUA]] ''colour, talkmode, font, lang_id, text'' || W || MAkes the object speak a UNICODE message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SDIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC, providing that it is not already open.&lt;br /&gt;
|-&lt;br /&gt;
| [[SERIAL]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[SEXTANTP]] ''location'' || R || Converts the item's location or a specified location into sextant coordinates.&lt;br /&gt;
|-&lt;br /&gt;
| [[SOUND]] ''sound_id, repeat'' || W || Plays a sound from this object.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELLEFFECT]] ''spell_id, strength, source_character_uid, source_item_uid'' || W || Causes the item to be affected by a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAG]]''.name'' || RW || Gets or sets the value of a TAG.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index'' || R || Gets a TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.KEY || R || Gets the name of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.VAL || R || Gets the value of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGCOUNT]] || R || Gets the number of TAGs stored on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGLIST]] || W || Outputs a list of the object's TAGs.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGET]]''FGMW'' ''function'' || W || Displays a targeting cursor to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMER]] || RW || Gets or sets the length of time before the item's timer expires, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERD]] || RW || Gets or sets the length of time before the item's timer expires, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''time, function'' || W || Scheduled a function to be executed on this object in ''time'' seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] CLEAR || W || Clears all scheduled functions from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[TRIGGER]] ''trig_name, trig_type'' || R || Fires a custom trigger and returns the RETURN value.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPE]] || RW || Gets or sets the item type.  You can use built-in or custom [[TYPEDEF]]s as a value.&lt;br /&gt;
|-&lt;br /&gt;
| [[UID]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNEQUIP]] || W || Unequips the item and places it in SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATE]] || W || Updates the state of the item to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATEX]] || W || Updates the state of the item to nearby clients, removing it from their view first to ensure a full refresh.&lt;br /&gt;
|-&lt;br /&gt;
| [[USE]] ''check_los'' || W || Uses the item, as if SRC had double clicked it.&lt;br /&gt;
|-&lt;br /&gt;
| [[USEITEM]] || W || Double clicks the item, with SRC as the source of the event, without checking for line of sight.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEIGHT]] || R || Gets the weight of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[Z]] || R || Gets the Z position of the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Triggers==&lt;br /&gt;
Here is a list of all item triggers. Click on the trigger name for more detailed information such as arguments and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[@AfterClick]] || Fires when the object has been single-clicked, just before the overhead name is shown.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Buy]] || Fires when the item is being bought from a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Click]] || Fires when the object has been single-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ClientTooltip]] || Fires when tooltips are about to be sent to a client.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuRequest]] || Fires when a client requests the context menu options for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuSelect]] || Fires when a client selects a context menu option for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Create]] || Fires when the object is initially created, before it is placed in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Damage]] || Fires when the item receives damage.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DClick]] || Fires when the object is double-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Destroy]] || Fires when the object is being deleted.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Char]] || Fires when the item has been dropped on to a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Ground]] || Fires when the item has been dropped on to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Item]] || Fires when the item is dropped on to another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Self]] || Fires when an item has been dropped on to this item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Equip]] || Fires when the item has been equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[@EquipTest]] || Fires when the item is about to be equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Ground]] || Fires when the item ihas been picked up from the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Pack]] || Fires when the item is picked up from inside a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Self]] || Fires when an item has been picked up from inside the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Stack]] || Fires when the item is picked up from a stack.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Sell]] || Fires when the item is sold to a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellEffect]] || Fires when the object is hit by the effects of a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Step]] || Fires when a character steps on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Cancel]] || Fires when a target is cancelled from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Char]] || Fires when a character is targeted from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Ground]] || Fires when the ground is targeted from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Item]] || Fires when an item is targeted from this item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Timer]] || Fires when the item's timer expires.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ToolTip]] || Fires when old-style tooltips are requested for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UnEquip]] || Fires when the item is unequipped.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Items&amp;diff=1467</id>
		<title>Items</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Items&amp;diff=1467"/>
				<updated>2013-02-12T22:22:44Z</updated>
		
		<summary type="html">&lt;p&gt;Xwerswoodx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Items}}&lt;br /&gt;
&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
Generally speaking, there are two types of &amp;quot;things&amp;quot; in the game; characters and items. Compared to characters, items are very complex. Items have a number of different uses, for example a sword is an item that players can see and equip to increase the damage they can do in combat. Some items in the game can not be seen by the players, but they have as much impact on the player as their sword, for example, a memory item is equipped every time a player is under the effects of a spell. Some [[Special Items|special types of item]] also have additional properties that can be accessed via scripts. The following tables detail the various properties of items in SphereServer:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[CONT]] || RW || Gets or sets the [[Characters|character]] or [[Special Items#Containers|container item]] that the object is inside.&lt;br /&gt;
|-&lt;br /&gt;
| [[LINK]] || RW || Gets or sets the [[Characters|character]] or [[Items|item]] that the item is linked to.&lt;br /&gt;
|-&lt;br /&gt;
| [[REGION]] || R || Gets the [[Regions|region]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[ROOM]] || R || Gets the [[Rooms|room]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[P]] || RW || Gets or sets the [[Map Points|position]] that the object is at.&lt;br /&gt;
|-&lt;br /&gt;
| [[SECTORS|SECTOR]] || R || Gets the [[Sectors|sector]] that the object is in.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOPOBJ]] || R || Gets the top-most [[Characters|character]] or [[Items|item]] in the world that contains the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPEDEF (Reference)|TYPEDEF]] || R || Gets the [[ITEMDEF]] that defines the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Properties and Functions==&lt;br /&gt;
Here is a list of all item properties and functions. If a function is marked as readable then it can return a value when used as &amp;lt;KEY&amp;gt;. Click on the name for more detailed information such as usage and examples. If an attempt is made to access a property that does not exist on the item, the property from the [[ITEMDEF]] will be accessed instead.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDCIRCLE]] ''spell_circle'' || W || Adds all of the spells in the given circle to the spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDSPELL]] ''spell_id'' || RW || Gets whether or not a spell exists in the spellbook, or adds a spell to the spellbook.&lt;br /&gt;
|-&lt;br /&gt;
| [[AMOUNT]] || RW || Gets the amount of this items this item represent (e.g. a pile of gold).&lt;br /&gt;
|-&lt;br /&gt;
| [[ATTR]] || RW || Gets or sets the item's attribute flags.&lt;br /&gt;
|-&lt;br /&gt;
| [[BOUNCE]] || W || Moves the item to SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEE]] || R || Returns 1 if SRC can see the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOS]] || R || Returns 1 if SRC has line of sight to the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[CANSEELOSFLAG]] ''flags'' || R || Returns 1 if SRC has line of sight to the item, with flags to modify what tests take place.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEARTAGS]] ''prefix'' || W || Removes all TAGs from the item that start with the given prefix.&lt;br /&gt;
|-&lt;br /&gt;
| [[COLOR]] || RW || Gets or sets the object's hue.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONSUME]] ''amount'' || W || Deducts an amount from the item, deleting it at 0.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTCONSUME]] ''resource_list'' || W || Deletes items from inside the container.&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTGRID]] || RW || If in a container, gets or sets the grid number that the item occupies (in KR's grid view)&lt;br /&gt;
|-&lt;br /&gt;
| [[CONTP]] || RW || Gets or sets the position of the item within its container.&lt;br /&gt;
|-&lt;br /&gt;
| [[DAMAGE]] ''amount, type, source'' || W || Inflicts damage upon the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[DCLICK]] || W || Double clicks the item, with SRC as the source of the event.&lt;br /&gt;
|-&lt;br /&gt;
| [[DECAY]] ''time'' || W || Sets the decay timer for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[DIALOG (Function)|DIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPID]] || RW || Gets or sets the ID that the item will appear as to players.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISPIDDEC]] || RW || Same as [[DISPID]], except it returns the ID as a decimal number.&lt;br /&gt;
|-&lt;br /&gt;
| [[DISTANCE]] ''point_or_uid'' || R || Gets the distance between this object and either SRC, a map location or another object.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGCOLD]] || RW || Gets or sets the amount of cold damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGENERGY]] || RW || Gets or sets the amount of energy damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGFIRE]] || RW || Gets or sets the amount of fire damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DMGPOISON]] || RW || Gets or sets the amount of poison damage the weapon will give.&lt;br /&gt;
|-&lt;br /&gt;
| [[DROP]] || W || Drops the item to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[DUPE]] || W || Clones the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[EDIT]] || W || Displays an editing dialog for the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EFFECT]] ''type, item_id, speed, loop, explode, colour, rendermode'' || W || Displays an effect to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EMOTE]] ''message'' || W || Displays a *You see* message to all nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[EQUIP]] || W || Equips the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[EVENTS (Property)|EVENTS]] ''event_defname'' || RW || Gets a list of events attached to the object, or adds or removes an event to or from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIX]] || W || Re-aligns the item's Z level to ground level.&lt;br /&gt;
|-&lt;br /&gt;
| [[FLIP]] || W || Rotates the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[FRUIT]] || RW || Gets or sets the fruit that will be produced by the crops.&lt;br /&gt;
|-&lt;br /&gt;
| [[HEIGHT]] || R || Gets the height of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITS]] || RW || Gets or sets the number of hitpoints the item has.&lt;br /&gt;
|-&lt;br /&gt;
| [[HITPOINTS]] || RW || Gets or sets the number of hitpoints the item has.&lt;br /&gt;
|-&lt;br /&gt;
| [[ID]] || RW || Gets or sets the ID of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[INFO]] || W || Displays an information dialog about the item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISARMOR]] ''object_uid'' || R || Returns 1 if the object is armour.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCHAR]] || R || Returns 1 if the object is a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCONT]] || R || Returns 1 if the object is a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to it.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISITEM]] || R || Returns 1 if the object is an item.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPE]] ''type, distance, flags'' || R || Returns 1 if a nearby item has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNEARTYPETOP]] ''type, distance, flags'' || R || Returns a nearby world location of a nearby item which has the given TYPE.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISPLAYER]] || R || Returns 1 if the object is a player.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISTEVENT]]''.event_defname'' || R || Returns 1 if the object has an event attached to its ITEMDEF.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISWEAPON]] ''object_uid'' || R || Returns 1 if the object is a weapon.&lt;br /&gt;
|-&lt;br /&gt;
| [[LAYER]] || RW || Gets or sets the layer that the item occupies when equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAP]] || RW || Gets or sets the map that this object is located.&lt;br /&gt;
|-&lt;br /&gt;
| [[MAXHITS]] || RW || Gets or sets the maximum number of hitpoints the item can have.&lt;br /&gt;
|-&lt;br /&gt;
| [[MENU (Function)|MENU]] ''menu_defname'' || W || Displays a menu to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGE]] ''message'' || W || Displays a message above this item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MESSAGEUA]] ''colour, talkmode, font, lang_id, message'' || W || Displays a UNICODE message above this item to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[MODAR]] || RW || Gets or sets a modifier for the item's armour rating.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1]] || RW || Gets or sets the MORE1 value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1H]] || RW || Gets or sets the upper 4 bytes of the item's MORE1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1L]] || RW || Gets or sets the lower 4 bytes of the item's MORE1 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2]] || RW || Gets or sets the MORE2 value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2H]] || RW || Gets or sets the upper 4 bytes of the item's MORE2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2L]] || RW || Gets or sets the lower 4 bytes of the item's MORE2 value.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREM]] || RW || Gets or sets the MOREM value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREX]] || RW || Gets or sets the MOREX value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREY]] || RW || Gets or sets the MOREY value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREZ]] || RW || Gets or sets the MOREZ value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOREP]] || RW || Gets or sets the MOREP value for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVE]] ''direction, amount''&amp;lt;br /&amp;gt; [[MOVE]] ''x y'' || W || Moves the object relative to its current position.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVENEAR]] ''object_uid, distance'' || W || Moves the object to a random location near another object within a certain distance.&lt;br /&gt;
|-&lt;br /&gt;
| [[MOVETO]] ''location'' || W || Moves the object to a specific location.&lt;br /&gt;
|-&lt;br /&gt;
| [[NAME]] || RW || Gets or sets the object's name.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEDOWN]] ''amount'' || W || Decreases the object's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[NUDGEUP]] ''amount'' || W || Increases the object's Z level.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLE]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function.&lt;br /&gt;
|-&lt;br /&gt;
| [[PROMPTCONSOLEU]] ''function, prompt_message'' || W || Displays a prompt message to SRC and passes their response into a specified function, supporting UNICODE response.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVE]] || W || Deletes the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVEFROMVIEW]] || W || Removes the object from nearby clients' screens.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESENDTOOLTIP]] || W || Forces Sphere to update the tooltips for nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAY]] ''message'' || W || Makes the object speak a message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYU]] ''message'' || W || Makes the object speak a UTF-8 message&lt;br /&gt;
|-&lt;br /&gt;
| [[SAYUA]] ''colour, talkmode, font, lang_id, text'' || W || MAkes the object speak a UNICODE message.&lt;br /&gt;
|-&lt;br /&gt;
| [[SDIALOG]] ''dialog_id, page, parameters'' || W || Displays a dialog to SRC, providing that it is not already open.&lt;br /&gt;
|-&lt;br /&gt;
| [[SERIAL]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[SEXTANTP]] ''location'' || R || Converts the item's location or a specified location into sextant coordinates.&lt;br /&gt;
|-&lt;br /&gt;
| [[SOUND]] ''sound_id, repeat'' || W || Plays a sound from this object.&lt;br /&gt;
|-&lt;br /&gt;
| [[SPELLEFFECT]] ''spell_id, strength, source_character_uid, source_item_uid'' || W || Causes the item to be affected by a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAG]]''.name'' || RW || Gets or sets the value of a TAG.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index'' || R || Gets a TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.KEY || R || Gets the name of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGAT]]''.index''.VAL || R || Gets the value of the TAG at the given zero-based index.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGCOUNT]] || R || Gets the number of TAGs stored on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAGLIST]] || W || Outputs a list of the object's TAGs.&lt;br /&gt;
|-&lt;br /&gt;
| [[TARGET]]''FGMW'' ''function'' || W || Displays a targeting cursor to SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMER]] || RW || Gets or sets the length of time before the item's timer expires, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERD]] || RW || Gets or sets the length of time before the item's timer expires, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] ''time, function'' || W || Scheduled a function to be executed on this object in ''time'' seconds.&lt;br /&gt;
|-&lt;br /&gt;
| [[TIMERF]] CLEAR || W || Clears all scheduled functions from the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[TRIGGER]] ''trig_name, trig_type'' || R || Fires a custom trigger and returns the RETURN value.&lt;br /&gt;
|-&lt;br /&gt;
| [[TYPE]] || RW || Gets or sets the item type.  You can use built-in or custom [[TYPEDEF]]s as a value.&lt;br /&gt;
|-&lt;br /&gt;
| [[UID]] || R || Gets the item's unique ID in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[UNEQUIP]] || W || Unequips the item and places it in SRC's backpack.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATE]] || W || Updates the state of the item to nearby clients.&lt;br /&gt;
|-&lt;br /&gt;
| [[UPDATEX]] || W || Updates the state of the item to nearby clients, removing it from their view first to ensure a full refresh.&lt;br /&gt;
|-&lt;br /&gt;
| [[USE]] ''check_los'' || W || Uses the item, as if SRC had double clicked it.&lt;br /&gt;
|-&lt;br /&gt;
| [[USEITEM]] || W || Double clicks the item, with SRC as the source of the event, without checking for line of sight.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEIGHT]] || R || Gets the weight of the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[Z]] || R || Gets the Z position of the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Triggers==&lt;br /&gt;
Here is a list of all item triggers. Click on the trigger name for more detailed information such as arguments and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[@AfterClick]] || Fires when the object has been single-clicked, just before the overhead name is shown.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Buy]] || Fires when the item is being bought from a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Click]] || Fires when the object has been single-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ClientTooltip]] || Fires when tooltips are about to be sent to a client.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuRequest]] || Fires when a client requests the context menu options for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ContextMenuSelect]] || Fires when a client selects a context menu option for the object.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Create]] || Fires when the object is initially created, before it is placed in the world.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Damage]] || Fires when the item receives damage.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DClick]] || Fires when the object is double-clicked.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Destroy]] || Fires when the object is being deleted.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Char]] || Fires when the item has been dropped on to a character.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Ground]] || Fires when the item has been dropped on to the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Item]] || Fires when the item is dropped on to another item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@DropOn_Self]] || Fires when an item has been dropped on to this item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Equip]] || Fires when the item has been equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[@EquipTest]] || Fires when the item is about to be equipped.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Ground]] || Fires when the item ihas been picked up from the ground.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Pack]] || Fires when the item is picked up from inside a container.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Self]] || Fires when an item has been picked up from inside the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@PickUp_Stack]] || Fires when the item is picked up from a stack.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Sell]] || Fires when the item is sold to a vendor.&lt;br /&gt;
|-&lt;br /&gt;
| [[@SpellEffect]] || Fires when the object is hit by the effects of a spell.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Step]] || Fires when a character steps on the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Cancel]] || Fires when a target is cancelled from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Char]] || Fires when a character is targeted from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Ground]] || Fires when the ground is targeted from the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@TargOn_Item]] || Fires when an item is targeted from this item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@Timer]] || Fires when the item's timer expires.&lt;br /&gt;
|-&lt;br /&gt;
| [[@ToolTip]] || Fires when old-style tooltips are requested for the item.&lt;br /&gt;
|-&lt;br /&gt;
| [[@UnEquip]] || Fires when the item is unequipped.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>Xwerswoodx</name></author>	</entry>

	</feed>