Difference between revisions of "CharID"

From Wiki
Jump to: navigation, search
Line 3: Line 3:
 
{|
 
{|
 
| 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.
 +
|}
  
 
== Example ==
 
== Example ==

Revision as of 19:53, 25 August 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.

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