getGMNotes

From RPTools Wiki
Revision as of 17:06, 14 March 2023 by Taustin (talk | contribs) (Text replacement - "source>" to "syntaxhighlight>")
Jump to navigation Jump to search

getGMNotes() Function

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

Introduced in version 1.3b48
Returns the GM notes from the Current Token.

Usage

<source lang="mtmacro" line> getGMNotes() getGMNotes(id) getGMNotes(id, mapname) </syntaxhighlight>

Parameter

  • id - The token id of the token to get the GM notes from.

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

  • mapname - The name of the map to find the token. Defaults to the current map.


Version Changes

  • 1.5.4 - Added id and mapname parameter options.


}}