Macros from the Old Site

1 post / 0 new
Sudsig
Sudsig's picture
Macros from the Old Site

Equip Item(s) Based on Item Number
Credit for this info goes to Myrddin at Link

First, equip the item(s) you would like item numbers for and then run the following script in the command window to get the pertinent item numbers.

/run local function id(s) return strmatch(GetInventoryItemLink("player",s) or "","(item:%d+:%d+):") end for i=16,17 do if id(i) then ChatFrame1:AddMessage("/equipslot "..i.." "..id(i)) end end

 

The response will be something like the following:

/equipslot 16 item:50737:3789
/equipslot 17 item:50710:3789

Now use a macro something like:

#showtooltip
/equipslot 16 item:50737:3789
/equipslot 17 item:50710:3789

or slightly more indepth:

#showtooltip
/equipslot [worn:Fishing Poles,combat] 16 item:50737:3789
/equipslot [worn:Fishing Poles,combat] 17 item:50710:3789
/cast [worn:Fishing Poles] Fishing
/stopmacro [worn:Fishing Poles]
/startattack
/cast Stormstrike

 

Druid Feral - Cast thorns after equiping a caster weapon then re-bear
#showtooltip: Thorns
/equipslot 16 item:51898:3855 /castsequence [reset=10] Thorns, Bear Form
/equipslot 16 item:50052:2673

To get the item number see this [url=http://dwm.guildzilla.com/forums.html?show=posts&tid=353333]LINK[/url]

 

Spell Steal From focus
The following macro allows you to attack a targeted mob, then using the macro will spell steal from a focused mob.

#show
/clearfocus [modifier:shift]
/focus [target=focus,noexists]; [target=focus,dead]
/clearfocus [target=focus,help]
/stopcasting
/cast [target=focus,exists,harm] Spellsteal

 

Target and Mark
/tar blazing talon initiate
/script SetRaidTargetIcon("target",6)

Just change the name of the target as needed.
Change the number to get a different symbol. Six in this case is blue square

 

Rogue - Target limited by distance and pickpocket
#showtooltip Pick Pocket
/console targetNearestDistance 8,000000
/targetenemy [noharm][dead]
/cast Pick Pocket
/cleartarget

 

Target Sequence
/targetexact Nether Portal
/stopmacro [nodead, harm]
/targetexact Infernal Volcano
/stopmacro [nodead, harm]
/targetexact Mistress of Pain
/stopmacro [nodead, harm]
/assist phere

The above was used for the TOC Jaraxxus fight. In that fight, the sequence of mobs to target was known and sequential. The final line targets whatever the tank has targeted.

 

Focus - Mind Sear - SPriest

#show
/clearfocus [modifier:shift]
/focus [target=focus,noexists]; [target=focus,dead]
/clearfocus [target=focus,dead]
/stopcasting
/cast [target=focus,exists,nodead] Mind Sear

This macro lets you focus (a friendly or not) and then cast Mind Sear and not lose your target.