getOwners: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:




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 [[Token:Current Token|Current Token]].


<source lang="mtmacro" line>
<source lang="mtmacro" line>

Revision as of 13:10, 13 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]