getMacroIndexes: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Function getMacroIndexes==
==Function getMacroIndexes==


Returns a [[Macros:string list|string list]] of the [[macro buttons]] on the current [[Token:token]] that have the specified label.
Returns a [[Macros:string list|string list]] of the [[macro buttons]] on the [[Token:Current Token|Current Token]] that have the specified label.


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

Revision as of 13:00, 13 December 2008

Function getMacroIndexes

Returns a string list of the macro buttons on the Current Token that have the specified label.

Usage

[h: indexes = getMacroIndexes(label)]
[h: indexes = getMacroIndexes(label, delim)]

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