isNPC: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Function isNPC==
==Function isNPC==


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


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

Revision as of 03:45, 23 December 2008

Function isNPC

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

Usage

[h: npc = isNPC()]


Examples

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