getSpeechNames: 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 [[Token:speech|speech]] names of the current [[Token:token|token]].
Returns a [[Macros:string list|string list]] containing the [[Token:speech|speech]] names of the [[Token:Current Token|Current Token]].


===Usage===
===Usage===

Revision as of 13:12, 13 December 2008

Function getSpeechNames

Returns a string list containing the speech names of the Current Token.

Usage

[h: macros = getSpeechNames()]
[h: macros = getSpeechNames(delim)]

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


Examples

To display the names of all of the speech values for the current token use.

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