getAllMapIDs: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{MacroFunction |name=getAllMapMapIDs |version=1.14.0 |description= Returns the unique IDs of all maps. |usage= <syntaxhighlight lang="mtmacro" line> getAllMapIDs() getAllMapIDs(delim)</syntaxhighlight> '''Parameters''' {{param|delim|The delimiter to use for a String List. If the value is json, then a JSON Array is returned.}} |examples= <syntaxhighlight lang="mtmacro" line> [r:getAllMapMapIDs()] </syntaxhighlight> }} Category:Map Function")
 
No edit summary
Line 13: Line 13:
<syntaxhighlight lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
[r:getAllMapMapIDs()]
[r:getAllMapMapIDs()]
returns:
<syntaxhighlight lang="mtmacro" line>
399418EA6B644119AD1A2FBA879BD59C,CFCC795805D54AA88997C960F57EC4D2
</syntaxhighlight>
</syntaxhighlight>
</syntaxhighlight>



Revision as of 02:52, 12 December 2023

getAllMapMapIDs() Function

Introduced in version 1.14.0
Returns the unique IDs of all maps.

Usage

getAllMapIDs()
getAllMapIDs(delim)

Parameters

  • delim - The delimiter to use for a String List. If the value is json, then a JSON Array is returned.

Examples

[r:getAllMapMapIDs()]
returns:
<syntaxhighlight lang="mtmacro" line>
399418EA6B644119AD1A2FBA879BD59C,CFCC795805D54AA88997C960F57EC4D2
</syntaxhighlight>