getOwned
Function getOwned
This function can only be called from a trusted macro
Returns a string list containing the ids of the tokens on the current map that are owned by the specified player.
[h: tokenIds = getOwned(player)]
[h: tokenIds = getOwned(player, delim)]
delim is the delimiter used to separate the values in the string list which defaults to ',' if not specified.
Examples
To display the ids of all of the tokens on the current map by the player use.
[h: ids = getOwned(getPlayerName())]
[foreach(id, ids, "<br>"): id]