getAllMapDisplayNames

From RPTools Wiki
Revision as of 08:43, 5 June 2021 by MichaelP (talk | contribs) (Created page with "{{MacroFunction |name=getAllMapDisplayNames |version=1.9.0 |trusted=true |description= Returns the display names of all of the maps as either a String List or JSON Array...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getAllMapDisplayNames() Function

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

Introduced in version 1.9.0
Returns the display names of all of the maps as either a String List or JSON Array.

Usage

getAllMapDisplayNames()
getAllMapDisplayNames(delim)

Parameters

Examples

To get the display names of all of the maps in a String List.
[h: maps = getAllMapDisplayNames()]

To get the display names of all of the maps in a JSON Array

[h: maps = getAllMapDisplayNames("json")]

See Also