isNPC

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

Function isNPC

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

Usage

[h: npc = isNPC()]


Examples

[r, if(isNPC()): "Hello I am an NPC"]