isOwner

From RPTools Wiki
Revision as of 04:10, 31 March 2009 by Verisimilar (talk | contribs) (Updated with recent version changes.)
Jump to navigation Jump to search

isOwner() Function

Introduced in version 1.3b48
Returns true(1) if the Player is and 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.