GetMacroBody

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

Returns the body (macro text) of a macro.

body = GetMacroBody(macro)

Arguments

macro
number|string - Macro index or name.

Returns

body
string? - The macro body or nothing if the macro doesn't exsist.

Example

/dump GetMacroBody("Flash Heal")
[1]="#showtooltip\
/cast [@target,help,nodead][@player] Flash Heal\
"