getTokenMap

From RPTools Wiki
Revision as of 14:56, 22 January 2020 by Merudo (talk | contribs) (Created page with "{{MacroFunction |name=getTokenMap |version=1.5.11 |description= Gets the list of map(s) where a token resides. |usage= <source lang="mtmacro" line> getTokenMap(name/ID) getTo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getTokenMap() Function

Introduced in version 1.5.11
Gets the list of map(s) where a token resides.

Usage

getTokenMap(name/ID)
getTokenMap(name/ID, delim)

Parameters Parameters

  • name/ID - Either the name of the token or the ID.
  • delim - The delimiter used in the string list returned, defaults to ",". If set to json, then a JSON array is returned.