getState: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Added version, cleaned up formatting.) |
Verisimilar (talk | contribs) mNo edit summary |
||
Line 11: | Line 11: | ||
</source> | </source> | ||
'''Parameter''' | '''Parameter''' | ||
* {{code|state | * {{code|state}} - The name of the state to check for on the current token. | ||
|example= | |example= |
Revision as of 09:54, 10 March 2009
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
getState() Function
• Introduced in version 1.3b40
Returns 1 if the specified Token State is set on the Current Token otherwise it returns 0.
Usage
getState(state)
Parameter
state
- The name of the state to check for on the current token.
Example
[if(getState("Dead"), "You are dead!", "You are not dead (yet!)")]