Difference between revisions of "CharID"

From Wiki
Jump to: navigation, search
 
(See Also)
Line 20: Line 20:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
|
 
| [[Documentation#Character|#Character Variables]]
 
 
|}
 
|}
 
----
 
----
 
{|
 
{|
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Miscellaneous_Variables|Miscellaneous System Variables]]
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Character|Character Variables]]
 
|}
 
|}

Revision as of 18:22, 10 August 2005

#charID

Miscellaneous System Variables

Description

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 Character Variables