From RPTools WikiJump to navigationJump to search
• Introduced in version 1.3b48
isOwner() isOwner(player) isOwner(player, id) isOwner(player, id, mapname)
player- The name of the player to check for ownership, defaults to the Current Player.
id- The token
idof the token which is checked for ownership, defaults to the Current Token.
Note: This parameter can only be used in a Trusted Macro.
mapname- The name of the map to find the token. Defaults to the current map.
You can edit me.if the Current Player is an owner of the Current Token.
[r, if(isOwner()): "You can edit me."]
[h: id = getSelected() ] [r, if(isOwner("Azhrei", id)): "Azhrei can edit me."]
- 1.3b51 - Added
- 1.5.4 - Added