getAllMapNames: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page getAllMapNames to GetAllMapNames without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page GetAllMapNames to getAllMapNames: Converting page titles to lowercase)
(No difference)

Revision as of 23:17, 9 February 2023

getAllMapNames() Function

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

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

Usage

getAllMapNames()
getAllMapNames(delim)

Parameters

Examples

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

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

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

See Also