hasMacro: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function hasMacro== {{ProposedChange}} Returns 1 if a macro button with the specified label exists on the current Token:token. ===Usage=== <source lang="mtmacro" line> [h: hasM...)
 
No edit summary
Line 5: Line 5:
===Usage===
===Usage===
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: hasMacro(label)
[h: macroExists = hasMacro(label)
</source>
</source>

Revision as of 00:13, 2 December 2008

Function hasMacro

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

Returns 1 if a macro button with the specified label exists on the current token.

Usage

[h: macroExists = hasMacro(label)