m
Using ''local'' as a variable name is bad mojo. Plus, some copy-n-paste errors.
m (Clean up function example so its copy pasteable like other API entries) |
m (Using ''local'' as a variable name is bad mojo. Plus, some copy-n-paste errors.) |
||
| Line 3: | Line 3: | ||
Return information for a macro. | Return information for a macro. | ||
name, iconTexture, body, | name, iconTexture, body, localStore = GetMacroInfo(''name'' or MacroID) | ||
== Arguments == | == Arguments == | ||
:(MacroID) | :(''name'' or MacroID) | ||
:;MacroID: | :;''name'' or MacroID: Number/String - The ID number or name of the macro to query. | ||
== Returns == | == Returns == | ||
:;name, iconTexture, body, | :;name, iconTexture, body, localStore | ||
;''name'' | ;''name'' | ||
| Line 22: | Line 22: | ||
:The contents of the macro | :The contents of the macro | ||
;'' | ;''localStore'' | ||
:unknown; apears to be the numeric value 1 or nil. | :unknown; apears to be the numeric value 1 or nil. | ||
== Example == | == Example == | ||