PDA

View Full Version : [WoW] Handy Macros


IceShadow
01-06-2006, 06:03 PM
I found this online. It lets you sell all the grey items in your bags. Quite handy!

/script for bag = 0,4,1 do for slot = 1, GetContainerNumSlots(bag), 1 do local name = GetContainerItemLink(bag,slot); if name and string.find(name,"ff9d9d9d") then DEFAULT_CHAT_FRAME:AddMessage("Selling "..name); UseContainerItem(bag,slot) end; end; end

Elbast
01-06-2006, 06:26 PM
Yeah, the trash selling macro is a god-send.

I'm fond of one that is very simple indeed:

/r No thanks.

A one-click "piss off" to unsolicited whisperers without actually being rude. :p

Ratman_tf
01-07-2006, 02:36 AM
I just found out how to macro pet attack:

/charge
/script PetAttack()

You'd think it would get annoying after a while, but it doesn't. :D

Menteroso
02-06-2007, 11:03 AM
I'm doing a li'l necro on this thread as I need the trash-seller. (WoW's down right now.)


Hope ya'll don't mind.


Also, macros are always nifty!

IceShadow
02-06-2007, 03:29 PM
I'm doing a li'l necro on this thread as I need the trash-seller. (WoW's down right now.)


Hope ya'll don't mind.


Also, macros are always nifty!

(Reported for move to VGO already, so no one else has to. :) )

Sell all macro still works, but I've moved on to a mod called GarbageFu...it's a FuBar addon, that shows you the cheapest thing in your bags all the time in case you need to drop something to make room. Quite handy!

Gizmit
02-06-2007, 03:30 PM
Moved to VGO. :)

Sceadugenga
02-06-2007, 04:01 PM
For the Hunters or Warlocks:

PetAttack
/cast "open attack whatever"

for the Hunter I prefer '/cast Concussive Shot'

nonsense
02-06-2007, 04:04 PM
One I'm REALLY liking is the new mouseover targetting function.


for instance,

/cast [target=mouseover] Dispel Magic

... will throw a Dispel on whatever happens to be under my cursor when I press the key, without dropping my target or having to choose a new one.

bv728
02-06-2007, 04:19 PM
For all you Mages and some Priests, a pair of simple macros that take advantage of a simple function a lot of people seem to miss; Focus. If you set a focus, you can write a macro to cast spells on that Focus without ever actually changing targets.
Macro 1:
/focus target
Macro 2:
/cast [target=focus,harm] (Shackle Undead/Polymorph); [harm] (Shackle Undead/Polymorph)

The first one sets your focus; the second will cast the selected spell on your focus, if you have one, or your current target if you don't have a focus.

This lets you set your focus before a given fight (especially useful when you have a dedicated Raid symbol) and then, if your CC breaks, you can hit your macro without re-targeting and you'll poly that mob. You can modify this by adding

/stopmacro [target=focus,noharm]
/script SendChatMessage(UnitName("focus").." is CC'd! DO NOT BREAK!", PARTY)

Which will send to your party that the named mob is CC'd if your CC casts, but this part gets annoying sometimes.

Champion Blue
02-06-2007, 05:48 PM
My hunter has the macro:

/cast Hunter's Mark
/petattack

Casts Hunter's Mark and sends the pet in to growl at em.

Also this one:
/cast Scatter Shot
/petfollow

TygerTyger
02-06-2007, 07:31 PM
For all you Mages and some Priests, a pair of simple macros that take advantage of a simple function a lot of people seem to miss; Focus. If you set a focus, you can write a macro to cast spells on that Focus without ever actually changing targets.

I need to put together a variant on that for Seduce; it'll make instancing with my succubus a lot easier while trying to keep all my DoTs up. May as well do one for Banish too, I suppose.

Um... anyone who actually knows the pet cast commands feel like doing the focus-Seduce macro for me? :D

bondetamp
02-06-2007, 09:34 PM
In these post-TBC leveling times, I'm finding a use for my old "/g grats!" macro. :)

bv728
02-07-2007, 09:59 AM
I need to put together a variant on that for Seduce; it'll make instancing with my succubus a lot easier while trying to keep all my DoTs up. May as well do one for Banish too, I suppose.

Um... anyone who actually knows the pet cast commands feel like doing the focus-Seduce macro for me? :D

Way more complicated, unfortunately, at least with my limited knowledge of scripting; if someone knows a better way to do this than with CastPetAction, lemme know.

Macro 1:
/focus target
Macro 2:
/script for i=1, NUM_PET_ACTION_SLOTS, 1 do
local name, subtext, texture, isToken, isActive, autoCastAllowed, autoCastEnabled = GetPetActionInfo(i);
if ( name == "Seduce" ) then
CastPetAction(i,focus);
end
end


Or, if you keep Seduce ALWAYS on the same button, you can simplify it to

Macro 1:
/focus target
Macro 2:
/script CastPetAction(<insert number on Pet Action Bar>,focus);

But if you hit the Macro, it'll cast whatever you have in that petbar slot regardless of your pet.

Seroster
02-07-2007, 10:12 AM
You can also throw in a Dash/Dive into a pet attack macro. The AI for pets isn't very good at managing those, so it's actually an improvement. I'll check the exact syntax and post later.

Jesse_Lowe
09-19-2007, 10:51 AM
Thread of old, etc., etc.

Some ones I just grabbed from Big Red Kitty (http://bigredkitty.blogspot.com/), mostly for hunters.

To set your focus (e.g., the tank):
/target focus

And then, as necessary:
/assist focus

Misdirection (to dump a hell of a lot of aggro on the tank or your pet; the last Misdirection will cast it on whatever you're targeting)
/cast [target=focus, exists] Misdirection, [target=pet, exists] Misdirection, Misdirection

For taking out those pesky Shaman totems in PVP:
/target Totem
/cast Arcane Shot(Rank 1)

Sub in whatever instant-cast, low mana, low damage spell you have for Arcane Shot.

Pull Shot Macro
/cast [nomodifier] Arcane Shot(Rank 1)
/cast [modifier:alt] Distracting Shot
/stopcasting

Target the tank's target and put HM on it:
/assist focus
/cast Hunter's Mark

If I remember when I'm back at my WoW computer, I'll post my mount macro.

Oh, and a couple of quick Karazhan-specific ones:

/target Astral Flame
/petattack
/cast Auto Shot

/target Illhoof
/petattack
/cast Auto Shot

/target Demon Chain
/petattack
/cast Auto Shot

Same macro, but should make targeting easier. Obviously, designed to make quick work of adds you know will be coming in.

rwfloydjr
09-19-2007, 11:06 AM
Thread of old, etc., etc.

Some ones I just grabbed from Big Red Kitty (http://bigredkitty.blogspot.com/), mostly for hunters.

To set your focus (e.g., the tank):
/target focus

And then, as necessary:
/assist focus

Misdirection (to dump a hell of a lot of aggro on the tank or your pet; the last Misdirection will cast it on whatever you're targeting)
/cast [target=focus, exists] Misdirection, [target=pet, exists] Misdirection, Misdirection

For taking out those pesky Shaman totems in PVP:
/target Totem
/cast Arcane Shot(Rank 1)

Sub in whatever instant-cast, low mana, low damage spell you have for Arcane Shot.

Pull Shot Macro
/cast [nomodifier] Arcane Shot(Rank 1)
/cast [modifier:alt] Distracting Shot
/stopcasting

Target the tank's target and put HM on it:
/assist focus
/cast Hunter's Mark

If I remember when I'm back at my WoW computer, I'll post my mount macro.

Oh, and a couple of quick Karazhan-specific ones:

/target Astral Flame
/petattack
/cast Auto Shot

/target Illhoof
/petattack
/cast Auto Shot

/target Demon Chain
/petattack
/cast Auto Shot

Same macro, but should make targeting easier. Obviously, designed to make quick work of adds you know will be coming in.

Don't forget Kil'rek. We did one for him last time I did that fight and it worked great.