getMacroCommand: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:getMacroCommand moved to getMacroCommand) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=getMacroCommand | |name=getMacroCommand | ||
|version=1.3b48 | |||
|description=Returns the command that would be executed for a [[macro button]] on the [[Token:Current Token{{!}}Current Token]]. The [[getMacroIndexes{{!}} getMacroIndexes()]] function can be used to get the index of a [[macro button]]. | |description=Returns the command that would be executed for a [[macro button]] on the [[Token:Current Token{{!}}Current Token]]. The [[getMacroIndexes{{!}} getMacroIndexes()]] function can be used to get the index of a [[macro button]]. | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
getMacroCommand(index) | |||
</source> | </source> | ||
}} | }} | ||
[[Category:Metamacro Function]] | [[Category:Metamacro Function]] |
Revision as of 13:04, 10 March 2009
getMacroCommand() Function
• Introduced in version 1.3b48
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
getMacroCommand(index)