WoW:Macros: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(+ HOWTO:Make a Macro)
(Remove Vera31 spam)
Line 1: Line 1:
Macros are series of commands designed to be executed in series.  
'''Macros''' are series of commands designed to be executed in series.  


A [[Macro|macro]] can consist of any number of [[Slash Command|/]]''[[Slash Command|<command>]]''s or pure text to up 255 characters.  Users wishing to use more advanced commands are recommended to see the [[Interface Customization]] and [[World of Warcraft API]] sections.
A [[Macro|macro]] can consist of any number of [[Slash Command|/]]''[[Slash Command|<command>]]''s or pure text to up 255 characters.  Users wishing to use more advanced commands are recommended to see the [[Interface Customization]] and [[World of Warcraft API]] sections.
Line 8: Line 8:


----
----
How to setup a macro
=== How to setup a macro ===


#type /macro
#type /macro
Line 19: Line 19:
----
----


Note on the /script command. You may include a /script [string] command in your macro, where [string] can be any valid chunk of Lua code. Multiple statements should be delimited with a semi-colon. The [[World of Warcraft API]] page lists global Lua functions that may be called.
 
'''Note on the /script command.''' You may include a /script [string] command in your macro, where [string] can be any valid chunk of Lua code. Multiple statements should be delimited with a semi-colon. The [[World of Warcraft API]] page lists global Lua functions that may be called.


[[Category:Newbies]]
[[Category:Newbies]]

Revision as of 00:53, 29 November 2005

Macros are series of commands designed to be executed in series.

A macro can consist of any number of /<command>s or pure text to up 255 characters. Users wishing to use more advanced commands are recommended to see the Interface Customization and World of Warcraft API sections.

See Most Used Macros.



How to setup a macro

  1. type /macro
  2. Press New
  3. Enter a Name
  4. Select an icon
  5. Make your macro (click link for details)

Once your macro is made, you can either drag the icon to a toolbar or access it by typing /macro <name> from the command line.



Note on the /script command. You may include a /script [string] command in your macro, where [string] can be any valid chunk of Lua code. Multiple statements should be delimited with a semi-colon. The World of Warcraft API page lists global Lua functions that may be called.