RPTools

From MapToolDoc

token.label

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).

Image:Edittoken-name-and-label.jpg

Contents

Examples

Getting the Token Label

  1. Token Name: [token.label]

Outputs the value of token.label.

Setting the Token Label

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

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

Related Pages