switchToken: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added version.)
Line 2: Line 2:
|name=switchToken
|name=switchToken
|trusted=true
|trusted=true
|version=1.3b48
|description=
|description=
Changes the [[Token:Current Token|Current Token]] for the remainder of the [[Macro:Macro|Macro]].
Changes the [[Token:Current Token|Current Token]] for the remainder of the [[Macro:Macro|Macro]].
Line 7: Line 8:
|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: switchToken(tokenId)]
switchToken(tokenId)
</source>
</source>
}}
}}
[[Category:Token Function]]
[[Category:Token Function]]

Revision as of 12:50, 10 March 2009

switchToken() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.3b48
Changes the Current Token for the remainder of the Macro.

Usage

switchToken(tokenId)