token.gm name: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Macros:Special Variables:token.gm name moved to token.gm name: Moved to main namespace.)
(End of adds to Special Variable category.)
Line 22: Line 22:
==Related Pages==
==Related Pages==


* [[Macros:Special_Variables:token.name|token.name]]
* [[token.name]]
* [[Macros:Special_Variables:token.label|token.label]]
* [[token.label]]
* [[Macros:Variables:list_of_special_variables|List of Special Variables]]
[[Category:Special Variable]]
{{DISPLAYTITLE:token.gm_name}}

Revision as of 13:55, 25 March 2009

The variable token.gm_name allows programmatic querying and setting of the token's GM Name (the second text field in the screenshot of the Edit Token dialog).

Examples

Getting the Token GM Name

[h:secretName=token.gm_name]
GM's Name: [secretName]

Outputs the value of token.gm_name.

Setting the Token GM Name

[h:token.gm_name = "Soldier"]

Sets the value of token.gm_name to "Soldier."

Related Pages