currentToken: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Unifying Current Token red link.) |
m (Fixing wikilink) |
||
Line 2: | Line 2: | ||
|name=currentToken | |name=currentToken | ||
|version=1.3b48 | |version=1.3b48 | ||
|description=Returns the id of the [[Current Token]]. In most cases this will return the same as [[Macros:Functions:getImpersonated | getImpersonated()]] function. The difference is when it is called in a | |description=Returns the id of the [[Current Token]]. In most cases this will return the same as [[Macros:Functions:getImpersonated | getImpersonated()]] function. The difference is when it is called in a {{roll|token}} or after a call to the [[Macros:Functions:switchToken | switchToken()]] function, in both these cases it will return the id of the [[token]] being operated on, while [[Macros:Functions:getImpersonated | getImpersonated()]] will return the id of the [[impersonated token]]. | ||
|usage= | |usage= |
Revision as of 10:42, 24 July 2011
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.