hasMacro: Difference between revisions

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


Returns 1 if a [[macro button]] with the specified label exists on the current [[Token:token|token]].
Returns 1 if a [[macro button]] with the specified label exists on the [[Token:Current Token|Current Token]].


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

Revision as of 13:15, 13 December 2008

Function hasMacro

Returns 1 if a macro button with the specified label exists on the Current Token.

Usage

[h: macroExists = hasMacro(label)