token.gm name: Difference between revisions
Jump to navigation
Jump to search
(New page: 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). [[Ima...) |
|||
Line 18: | Line 18: | ||
</source> | </source> | ||
Sets the value of ''token.gm_name'' to " | Sets the value of ''token.gm_name'' to "Soldier." |
Revision as of 17:16, 22 December 2008
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 = "Booger"]
Sets the value of token.gm_name to "Soldier."