isPC: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(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...)
 
No edit summary
Line 1: Line 1:
==Function isPC==
==Function isPC==


Returns 1 if the [[Token:token|token]] is a PC or 0 if it not.
Returns 1 if the [[Token:Current Token|Current Token]] is a PC or 0 if it not.


===Usage===
===Usage===

Revision as of 13:18, 13 December 2008

Function isPC

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

Usage

[h: pc = isPC()]


Examples

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