isOwner: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added version.)
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=isOwner
|name=isOwner
|version=1.3b48
|description=
|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]].
Line 6: Line 7:
|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: owner = isOwner()]
isOwner()
</source>
</source>



Revision as of 12:17, 10 March 2009

isOwner() Function

Introduced in version 1.3b48
Returns 1 if the Player is and owner of the Current Token.

Usage

isOwner()

Examples

[r, if(isOwner()): "You can edit me."]