getMacroCommand

From RPTools Wiki
Revision as of 22:23, 1 December 2008 by Craig (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function getMacroCommand

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

This function can only be called from a trusted macro

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