getMacroCommand: Difference between revisions

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


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 [[Token:Current Token|Current Token]]. The [[Macros:Functions:getMacroIndexes| getMacroIndexes()]] function can be used to get the index of a [[macro button]].


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

Revision as of 12:59, 13 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)]