isPC: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:isPC moved to isPC) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=isPC | |name=isPC | ||
|version=1.3b48 | |||
|description= | |description= | ||
Returns 1 if the [[Token:Current Token|Current 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. | ||
Line 6: | Line 7: | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
isPC() | |||
</source> | </source> | ||
Revision as of 12:01, 10 March 2009
isPC() Function
• Introduced in version 1.3b48
Returns 1 if the Current Token is a PC or 0 if it not.
Usage
isPC()
Example
[r, if(isPC()): "Hello I am a PC"]