getAllMapNames: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: {{MacroFunction |name=getAllMapNames |version=1.3b55 |trusted=true |description= Returns the names of all of the maps as either a String List or JSON Array. |usage= <source lang=...)
 
No edit summary
Line 27: Line 27:
</source>
</source>
|also=
|also=
{{func|getMapName}} {{func|getVisibleMapNames}}
{{func|getCurrentMapName}} {{func|getVisibleMapNames}}


}}
}}
[[Category:Miscellaneous Function]]
[[Category:Miscellaneous Function]]

Revision as of 01:31, 13 April 2009

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