setTokenGMName: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Set trusted as true.)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=setTokenGMName
|name=setTokenGMName
|depreciated=[[setGMName|setGMName()]]
|deprecated=[[setGMName|setGMName()]]
|trusted=true
|trusted=true
|version=1.3b40
|version=1.3b40
Line 8: 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 20:31, 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.