isOwner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Verisimilar (talk | contribs) (Applied Template:MacroFunction) |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=isOwner | |||
|description= | |||
Returns 1 if the [[Player]] is and owner of the [[Token:Current Token|Current Token]]. | Returns 1 if the [[Player]] is and owner of the [[Token:Current Token|Current Token]]. | ||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: owner = isOwner()] | [h: owner = isOwner()] | ||
Line 9: | Line 10: | ||
|examples= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[r, if(isOwner()): "You can edit me."] | [r, if(isOwner()): "You can edit me."] | ||
</source> | </source> | ||
}} | |||
[[Category:Token Function]] |
Revision as of 21:00, 8 March 2009
isOwner() Function
Returns 1 if the Player is and owner of the Current Token.
Usage
[h: owner = isOwner()]
Examples
[r, if(isOwner()): "You can edit me."]