API:EditMacro

__NOTOC__
Edits a macro.
EditMacro(index, macro_name, macro_icon, macro_body)
== Parameters ==
=== Arguments ===
:index - The slot index of the macro you wish to edit.
::int 1
:macro_name - What the macro's name is
::string "greetings"
:macro_icon - a number from 1-60 representing the icon index from the Icon Select Frame.
::int 50
:macro_body - the text of the macro
::string "/say Hello %t!\n/wave"
=== Returns ===
:;nothing
== Example ==
EditMacro(1, "greetings", 50, "/say Hello %t!\n/wave");
== Notes ==
* If you attempt to edit an existing macro, but do not provide proper arguments, the macro in the slot index will be destroyed. SO BE CAREFUL!
== Related Functions ==
Category:Functions