Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:Making a macro
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Complete list === Below is the entire list of conditionals that are available to the macro system. One of the goals in the 2.0 patch was to eliminate a lot of old "smart buttons" that allowed people to essentially play the entire game spamming one key repeatedly. However, many tasks people used macros to simplify were deemed OK and given Blizzard's blessing via the macro options. If you don't see a condition listed here, then there is no way to check for it and take a combat-related action. These are essentially non-negotiable though they may be augmented in the future. Many of these can be checked for falseness instead of trueness. For example, [nocombat] is a valid conditional and will only perform the actions following it if you are not in combat. * '''actionbar:1/.../6''' or '''bar:1/.../6''' — Given action bar page is selected * '''bonusbar:5''' — The possess bar is active (controlling a vehicle or another player) * '''button:1/.../5/''<virtual click>''''' or '''btn:1/.../5/''<virtual click>''''' — Macro activated with the given mouse button * '''channeling:''<spell name>''''' — Channeling the given spell * '''combat''' — In combat * '''cursor''' — What the cursor is currently holding, see [[API_GetCursorInfo]] for types * '''dead''' — Target is dead * '''equipped:''<item type>''''' or '''worn:''<item type>''''' — item type is equipped (item type can be an inventory slot, [[ItemType|item type]], or item subtype) * '''exists''' — Target exists * '''flyable''' — In a zone where flying is allowed (this does not check if you have [[Cold Weather Flying]]; if you are in a flyable zone, but do not have this skill, the macro fails) * '''flying''' — Mounted or in flight form AND in the air * '''group:party/raid''' — You are in the given type of group * '''harm''' — Can cast harmful spells on the target * '''help''' — Can cast helpful spells on the target * '''indoors''' — Self explanatory * '''modifier:shift/ctrl/alt''' or '''mod:shift/ctrl/alt''' — Holding the given key * '''mounted''' — Self explanatory * '''outdoors''' — Self explanatory * '''party''' — Target is in your party * '''pet:''<pet name or type>''''' — The given pet is out * '''raid''' — Target is in your raid/party * '''spec:1/2''' — Currently active class specialization * '''[[Stance|stance]]:0/1/2/.../n''' or '''form:0/.../n''' — In a stance * '''stealth''' — Stealthed * '''swimming''' — Self explanatory * '''talent:<''tier#''>/<''column#''>''' - talent from column# of tier# is selected * '''unithasvehicleui''' — The target of the macro has vehicle UI * '''vehicleui''' — The player has vehicle UI
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)