getMacroCommand: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function getMacroCommand== {{ProposedChange}} {{TrustedOnlyFunction}} Returns the command that would be executed for a macro button on the current Token:token. The [[Macros:Func...)
 
No edit summary
Line 1: Line 1:
==Function getMacroCommand==
==Function getMacroCommand==
{{ProposedChange}}
{{ProposedChange}}
{{TrustedOnlyFunction}}
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 22:24, 1 December 2008

Function getMacroCommand

 Note: This refers to a proposed change that has not been implemented in the main code base yet.

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)]