WoW:Macros: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Category UI as people might expect it to be there)
(rewrote the page trying to consolidate information)
Line 1: Line 1:
{{Macronav}}
{{Macronav}}
'''Macros''' are series of commands designed to be executed in series.  
Welcome to the macros section.  Here you will find sample macros others have developed to meet a particular need.  If you are unclear what a [[UI_Beginners_Guide#Slash_Commands|slash command]], [[UI_Beginners_Guide#Macros|macro]] or [[UI_Beginners_Guide#Scripts|script]] is, you are encouraged to visit the [[UI Beginners Guide]].  Although slash commands, macros and scripts are technically different, the term ''macro'' is often used loosely.


A [[Macro|macro]] can consist of any number of ''[[Slash Command|/<command>]]''s or pure text to up 255 charactersUsers wishing to use more advanced commands are recommended to see the [[Interface Customization]] and [[World of Warcraft API]] sections.
If you need detailed instructions for creating your first macro, please visit [[HOWTO: Make a Macro]].  If you have questions regarding the limitations and capabilities of macros, please visit [[UI FAQ/Macros and Scripts]].  If you have questions concerning the logic of a particular macro, you may find your answers under the [[World of Warcraft API]].


This section is broken apart by macro use or application.  General purpose macros used by all classes can be found under [[Useful macros]].  Macros that are class specific can be found under the respective class page.
{|
| [[Image:IconSmall_Druid.gif]] [[Useful_macros/Druid|Druid]] ||     || [[Image:IconSmall_Paladin.gif]] [[Useful_macros/Paladin|Paladin]] ||     || [[Image:IconSmall_Shaman.gif]] [[Useful_macros/Shaman|Shaman]]
|-
| [[Image:IconSmall_Hunter.gif]] [[Useful_macros/Hunter|Hunter]] ||     || [[Image:IconSmall_Priest.gif]] [[Useful_macros/Priest|Priest]] ||     || [[Image:IconSmall_Warlock.gif]] [[Useful_macros/Warlock|Warlock]]
|-
| [[Image:IconSmall_Mage.gif]] [[Useful_macros/Mage|Mage]] ||     || [[Image:IconSmall_Rogue.gif]] [[Useful_macros/Rogue|Rogue]] ||     || [[Image:IconSmall_Warrior.gif]] [[Useful_macros/Warrior|Warrior]]
|}


You will notice a navigation box on many of the macro pages including this one.  This box can help you quickly move between various collections of macros.


----
One final note.  Macro functionality may change as Blizzard continues to evolve World of Warcraft.  Over time, some macros may cease to function. Keep this in mind when working with a macro written by someone else.
=== How to setup a macro ===
 
#Type /macro
#Press New
#Enter a Name
#Select an icon
#[[HOWTO:Make a Macro|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.
 
----
=== Target Variable ===
 
In a macro, the string %t will be automatically parsed into the name of your current target.
 
== Also See ==
 
* [[Most Used Macros]]
* [[UI FAQ/Macros and Scripts]]
* [[Macro FAQ]]


Have fun and good luck!


[[Category:Newbies]]
[[Category:Newbies]]
[[Category:Macros]]
[[Category:Macros]]
[[Category:UI]]
[[Category:UI]]

Revision as of 23:40, 27 October 2006

Macros
General guides

Welcome to the macros section. Here you will find sample macros others have developed to meet a particular need. If you are unclear what a slash command, macro or script is, you are encouraged to visit the UI Beginners Guide. Although slash commands, macros and scripts are technically different, the term macro is often used loosely.

If you need detailed instructions for creating your first macro, please visit HOWTO: Make a Macro. If you have questions regarding the limitations and capabilities of macros, please visit UI FAQ/Macros and Scripts. If you have questions concerning the logic of a particular macro, you may find your answers under the World of Warcraft API.

This section is broken apart by macro use or application. General purpose macros used by all classes can be found under Useful macros. Macros that are class specific can be found under the respective class page.

File:IconSmall Druid.gif Druid     File:IconSmall Paladin.gif Paladin     File:IconSmall Shaman.gif Shaman
File:IconSmall Hunter.gif Hunter     File:IconSmall Priest.gif Priest     File:IconSmall Warlock.gif Warlock
File:IconSmall Mage.gif Mage     File:IconSmall Rogue.gif Rogue     File:IconSmall Warrior.gif Warrior

You will notice a navigation box on many of the macro pages including this one. This box can help you quickly move between various collections of macros.

One final note. Macro functionality may change as Blizzard continues to evolve World of Warcraft. Over time, some macros may cease to function. Keep this in mind when working with a macro written by someone else.

Have fun and good luck!