getMacroCommand: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Function getMacroCommand==
==Function getMacroCommand==
{{ProposedChange}}
 
Returns the command that would be executed for a [[macro button]] on the current [[Token:token|token]]. The [[Macros:Functions:getMacroIndexes| getMacroIndexes()]] function can be used to get the index of a [[macro button]].
Returns the command that would be executed for a [[macro button]] on the current [[Token:token|token]]. The [[Macros:Functions:getMacroIndexes| getMacroIndexes()]] function can be used to get the index of a [[macro button]].



Revision as of 15:02, 6 December 2008

Function getMacroCommand

Returns the command that would be executed for a macro button on the current token. The getMacroIndexes() function can be used to get the index of a macro button.

Usage

[h: command = getMacroCommand(index)]