isOwner: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Updated with recent version changes.) |
mNo edit summary |
||
Line 3: | Line 3: | ||
|version=1.3b48 | |version=1.3b48 | ||
|description= | |description= | ||
Returns {{true}} if the [[Player]] is | Returns {{true}} if the [[Player]] is an owner of a specific [[Token]]. | ||
|usage= | |usage= |
Revision as of 14:13, 24 August 2009
isOwner() Function
• Introduced in version 1.3b48
Usage
isOwner()
isOwner(id)
Parameter
id
- The tokenid
of the token which is checked for ownership, defaults to the Current Token.Note: This parameter can only be used in a Trusted Macro.
Examples
Returns
You can edit me.
if the Current Token is owned by the Player.
[r, if(isOwner()): "You can edit me."]
See Also
Version Changes
- 1.3b51 - Added
id
parameter option.