getTokenMap: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 3: Line 3:
|version=1.5.11
|version=1.5.11
|description=
|description=
Gets the list of map(s) where a token resides. The list is returned either as a string list, or as a [JSON Array].
Gets the list of map(s) where a token resides. The list is returned either as a string list, or as a [[JSON Array]].


|usage=
|usage=

Revision as of 14:58, 22 January 2020

getTokenMap() Function

Introduced in version 1.5.11
Gets the list of map(s) where a token resides. The list is returned either as a string list, or as a JSON Array.

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.