getMapName

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

getMapName() Function

Introduced in version 1.10.0
Returns the GM name of a given map. If the specified map does not exist, an error is produced.

Usage

<syntaxhighlight lang="mtmacro" line> getMapName(mapDisplayName) </source> Parameters

  • mapDisplayName - A string containing the display name of the Map.

Examples

<syntaxhighlight lang="mtmacro" line>

[r:getMapName("Grasslands")]

</source>

See Also