getOwners: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function getOwners== {{ProposedChange}} Returns a Macros:string list containing the names of the owners of the current Token:token. <source lang="mtmacro" line> [h: names = g...)
 
Line 1: Line 1:
==Function getOwners==
==Function getOwners==
{{ProposedChange}}
 


Returns a [[Macros:string list|string list]] containing the names of the owners of the current [[Token:token|token]].
Returns a [[Macros:string list|string list]] containing the names of the owners of the current [[Token:token|token]].

Revision as of 15:06, 6 December 2008

Function getOwners

Returns a string list containing the names of the owners of the current token.

[h: names = getOwners()]
[h: names = getOwners(delim)]

delim is the delimiter used to separate the values in the string list which defaults to ',' if not specified.


Examples

To display the owners of the current token use.

[h: names = getOwners()]
[foreach(name, names, "<br>"): name]