token.label: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: The variable ''token.label'' allows programmatic querying and setting of the token's Label (the third text field in the screenshot of the Edit Token dialog). [[Imag...)
 
Line 18: Line 18:


Sets the value of ''token.label'' to "Random Passerby".
Sets the value of ''token.label'' to "Random Passerby".
==Related Pages==
* [[Macros:Special_Variables:token.gm_name|token.gm_name]]
* [[Macros:Special_Variables:token.name|token.name]]
* [[Macros:Variables:list_of_special_variables|List of Special Variables]]

Revision as of 17:23, 22 December 2008

The variable token.label allows programmatic querying and setting of the token's Label (the third text field in the screenshot of the Edit Token dialog).

Examples

Getting the Token Label

Token Name: [token.label]

Outputs the value of token.label.

Setting the Token Label

[h:token.label = "Random Passerby"]

Sets the value of token.label to "Random Passerby".

Related Pages