setTokenGMName: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Initial write-up.)
 
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=setTokenGMName
|name=setTokenGMName
|depreciated=[[setGMName|setGMName()]]
|deprecated=[[setGMName|setGMName()]]
|trusted=true
|version=1.3b40
|version=1.3b40
|description=
|description=
Line 7: Line 8:


|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
setTokenGMName(name)
setTokenGMName(name)
</source>
</syntaxhighlight>
'''Parameters'''
'''Parameters'''
* {{code|name}} - The name to set as the GM Name on the current token.
* {{code|name}} - The name to set as the GM Name on the current token.

Latest revision as of 23:59, 14 March 2023

 Note: This function has been deprecated. Refer to setGMName() for current functionality.

setTokenGMName() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.3b40
Sets the GM Name of the current token.

Usage

setTokenGMName(name)

Parameters

  • name - The name to set as the GM Name on the current token.