isPC

From RPTools Wiki
Revision as of 15:33, 6 December 2008 by Craig (talk | contribs) (New page: ==Function isPC== Returns 1 if the Token:token is a PC or 0 if it not. ===Usage=== <source lang="mtmacro" line> [h: pc = isPC()] </source> ===Examples=== <source lang="mtmacro" li...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function isPC

Returns 1 if the token is a PC or 0 if it not.

Usage

[h: pc = isPC()]


Examples

[r, if(isPC()): "Hello I am a PC"]