General Purpose Macros

General Purpose Macros

The following marking macro can come in quite handy when looking for something (like a quest mob or a rare spawn). When combined with the Click to Move Feature and a keybind for Interact With Target (both are WoW features) you can make quests like the Crawfish Creole cooking daily or the Mount Hyjal panicked squirrels quests as easy as pressing two keybinds.

Marking Macro

/tar targetname

/script SetRaidTarget(“target”, 8);

What it does: Targets the object named, if available, and places a raid marker over it.

How to use it: Replace the word targetname with the name of your target. The number 8 can be replaced to place different icons over the target. 1 = Star, 2 = Circle, 3 = Diamond, 4 = Triangle, 5 = Moon, 6 = Square, 7 = Cross, 8 = Skull.

Alternately, remove the targeting line (/tar targetname) and it will mark your current target.

Multi-Function Macro

/use spellname

/use [mod:shift] spellname

/use [mod:ctrl] spellname

/use [mod:alt] spellname

What it does: Casts up to four different spells using one action bar slot, based on which modifier key is pressed.

How it works: Replace “spellname” with the name of 4 different spells, abilities, or items and place the macro on your action bar. If no modifier is pressed while the assigned macro key is pressed or clicked, the first spell will be cast. If the shift key is pressed while the assigned macro key is pressed or clicked, the second spell will be cast. If the control key is pressed while the key is pressed or clicked, the third spell will be cast. If the alt key is pressed while the assigned macro key is pressed or clicked, the fourth spell will be cast.

Multi-Button Macro

/use [button:1] spellname

/use [button:2] spellname

/use [button:3] spellname

What it does: Casts up to 3 (or more) different spells using one action bar slot, based on which mouse button is pressed.

How it works: Replace “spellname” with the name of 3 different spells, abilities, or items and place the macro on your action bar. Button 1 = left click, Button 2 = right click, Button 3 = Middle Click. You can add buttons 4, 5, etc. if your mouse has them.

Quest Completed? Macro

/run print(IsQuestFlaggedCompleted(XXXXX))

What it does: Tells you whether a specific quest has been completed.

How to use it: Click on the button. The query will return an answer of “nil” or “1” where nil means it is not completed and 1 means that it has been completed. Replace XXXXX with the quest ID tag, which can be found on wowhead. Just look at the address for the quest page and take the 5-digit number from the “quest=XXXXX” part. For example: http://www.wowhead.com/quest=28112 – the quest id is 28112.

Warsong Gulch Macro

/run local b=GetMouseButtonClicked()SendChatMessage(b==”LeftButton”and”EFC GY”or b==”MiddleButton”and”EFC Tun”or b==”RightButton”and”EFC Ramp”,”instance_chat”)

What it does: Tells your group which way the Enemy Flag Carrier (EFC) is going, saving you typing time.

How to use it: Click on the button to send a chat message. Left click sends the message “EFC GY” to indicate the EFC is going past the graveyard. Middle click sends the message “EFC Tun” to indicate the EFC is going down the tunnel. Right click sends the message “EFC Ramp” to indicate the EFC is going down the ramp. Obviously this macro cannot automatically identify the EFC and its direction, you’ll have to press it manually after you spot the EFC.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s