Contents |
Note: This function can only be used in a Trusted Macro
Sets the GM Name of a token.
setGMName(name)
setGMName(name, id)
Parameters
name - A string that is set as the GM Name on the token.
id - The token id of the token that has its GM Name set. Defaults to the Current Token.
Sets the GM Name of the Current Token to New GM Name.
[h: setGMName("New GM Name")]Sets the GM Name of all selected tokens to New GM Name.
[h: SelectedTokens = getSelected()][h,foreach(TokenID, SelectedTokens), code:{[h: setGMName("New GM Name", TokenID)]}]
id parameter option.