API:GetMacroInfo

__NOTOC__
Gets a Macro slots information.
icon_index, macro_name, macro_body = GetMacroInfo(number)
== Parameters ==
=== Arguments ===
:number - a number from 1 to 49 (There are 49 available macro slots)
=== Returns ===
:;icon_index
::number - the icon index of the macro's icon from the Icon Select Frame.
:::1-60 - there are 60 usable icons.
:;macro_name
::string - the name of the macro.
:::greatings
:;macro_body
::string - contains the entire macro body script of the macro.
:::/say Hello %t!
:::/wave
== Example ==
local index, name, script = GetMacroInfo(1);
== Notes ==
* If you provide a number to an empty macro slot then all three returns will be nil.
== Related Functions ==
EditMacro