token.label: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
* [[token.name]]
* [[token.name]]
[[Category:Special Variable]]
[[Category:Special Variable]]
[[Category:Macro Function]]

Revision as of 20:07, 4 July 2023

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