RPTools

Personal tools
From MapToolDoc

token.gm_name

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

token.gm_name is only a valid expression in a trusted macro.

Image:Edittoken-name-and-label.jpg

Contents

Examples

Getting the Token GM Name

  1. [h:secretName=token.gm_name]
  2. GM's Name: [secretName]

Outputs the value of token.gm_name.

Setting the Token GM Name

  1. [h:token.gm_name = "Soldier"]

Sets the value of token.gm_name to "Soldier."

Related Pages