Difference between revisions of "CharID"

From Wiki
Jump to: navigation, search
(container for findItem sentence)
Line 2: Line 2:
 
[[Category: Character]]
 
[[Category: Character]]
 
{|
 
{|
| width=100 | {{ro}} || The #charID system variable determines the id of your character. This is a unique identifier, so it can be used to identify different characters and make specific actions depending on what character it is.
+
| width=100 | {{ro}} || The #charID system variable determines the id of your character. This is a unique identifier, so it can be used to identify different characters and make specific actions depending on what character it is.  This variable can also be used as a container for [[findItem]].
 
|}
 
|}
  

Revision as of 08:17, 28 December 2005

The #charID system variable determines the id of your character. This is a unique identifier, so it can be used to identify different characters and make specific actions depending on what character it is. This variable can also be used as a container for findItem.

Example


call specific_char_variables.txt
if #charID <> %charID
{
	event sysmessage You are using this script for the wrong character!  Halting Script!
	halt
}

See also

Main Page Documentation