Difference between revisions of "CharID"

From Wiki
Jump to: navigation, search
(See Also)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
== #charID ==
+
[[Category: Miscellanious]]
'''Miscellaneous System Variables'''
+
{|
=== Description ===
+
| 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.
{{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 ====
+
 
<pre>
 
<pre>
  
Line 18: Line 15:
  
 
</pre>
 
</pre>
==== See Also ====
+
{{footer}}
{|
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Character|Character Variables]]
+
|}
+

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