isOwner

From RPTools Wiki
Revision as of 14:13, 24 August 2009 by Biodude (talk | contribs)
Jump to navigation Jump to search

isOwner() Function

Introduced in version 1.3b48
Returns true(1) if the Player is an owner of a specific Token.

Usage

isOwner()
isOwner(id)

Parameter

  • id - The token id 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.