GetMacroIndexByName

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns the index for a macro by name.

macroSlot = GetMacroIndexByName(name)

Arguments

name
string - Macro name to query.

Returns

macroSlot
number - Macro slot index containing a macro with the queried name, or 0 if no such slot exists.

Details

  • Slots 1-120 are used for general macros, and 121-138 for character-specific macros.

See also