Contents |
Returns a list of the labels of all of the macro buttons on the Current Token. The type of the value returned depends on the delimiter parameter.
getMacros()
getMacros(delim)
getMacros(delim, id)
Parameters
delim - The delimiter used to separate the values in the String List, a JSON array is returned if "json" is specified as the delimiter. Defaults to ","
id - The token id of the token that the function is executed on. Note: This parameter can only be used in a Trusted Macro.
To display all of the macro button labels on the current token use.
[h: macroLables = getMacros()][foreach(macro, macroLables, "<br>"): macro]json delimiter option.
id parameter.