currentToken

From RPTools Wiki
Revision as of 21:13, 4 April 2009 by Verisimilar (talk | contribs) (Unifying Current Token red link.)
Jump to navigation Jump to search

currentToken() Function

Introduced in version 1.3b48
Returns the id of the Current Token. In most cases this will return the same as getImpersonated() function. The difference is when it is called in a [token(): ] or after a call to the switchToken() function, in both these cases it will return the id of the token being operated on, while getImpersonated() will return the id of the impersonated token.

Usage

currentToken()


Version Changes

  • 1.3b51 - No longer a trusted function.