getState

From RPTools Wiki
Revision as of 13:13, 13 December 2008 by Craig (talk | contribs)
Jump to navigation Jump to search

Function getState

Returns 1 if the specified Token State is set on the Current Token otherwise it returns 0.

Usage

[h: isSet = getState(name)]

Examples

[if(getState("Dead"), "You are dead!", "You are not dead (yet!)")]