getSpeechNames

From RPTools Wiki
Jump to navigation Jump to search

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]