getState: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function getState== Returns 1 if the specified Token:state is set on the current Token:token otherwise it returns 0. ===Usage=== <source lang="mtmacro" line> [h: isSet = getSt...) |
No edit summary |
||
Line 8: | Line 8: | ||
===Examples=== | ===Examples=== | ||
<source lang="mtmacro" | <source lang="mtmacro" line> | ||
[if(getState("Dead"), "You are dead!", "You are not dead (yet!)")] | [if(getState("Dead"), "You are dead!", "You are not dead (yet!)")] | ||
</source> | </source> |