token.name

From RPTools Wiki
Revision as of 13:52, 25 March 2009 by Verisimilar (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

Edittoken-name-and-label.jpg

Examples

Getting the Token Name

[h:charName=token.name]
Token Name: [charName]

Outputs the value of token.name.

Setting the Token Name

[h:token.name = "Marok the Red"]

Sets the value of token.name to "Marok the Red."

Related Pages