Difference between revisions of "CharID"
From Wiki
(replaced example) |
|||
| Line 1: | Line 1: | ||
| − | + | {{header|Character Variables|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]].}} | |
| − | + | ||
| − | {| | + | |
| − | | | + | |
| − | + | ||
== Example == | == Example == | ||
Revision as of 15:51, 5 September 2007
| ⇒ | 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
findItem *
for #findIndex 1 #findCnt
{
if #findId <> #charId
event ExMsg #findId 3 0 This is someone or something else.
if #findId = #charId
event ExMsg #charID 3 0 This is me!
}
halt
See also
| Main Page | Documentation |