currentToken: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) No edit summary |
Verisimilar (talk | contribs) m (Macros:Functions:currentToken moved to currentToken) |
(No difference)
|
Revision as of 01:25, 7 March 2009
currentToken() Function
Note: This function can only be used in a Trusted Macro
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
[h: tokenId = currentToken()]