Macros - Useful macros in here

Started by Gandalf, March 24, 2009, 10:01:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gandalf

ok, this one will cycle through the three raid target icons using a simple mouseover. So bind to a key, mouseover target one, hit the button. Mouseover target two and hit the button, same for three. Alt will reset back to skull and if 15 seconds elapses then it'll also reset. Nabbed from another forum and tweaked for mouseover.

Quote/script if time()>(RI_t or 0) then RI_r=8;RI_t=time()+15 elseif IsAltKeyDown() then SetRaidTarget("mouseover",8);return elseif RI_r==8 then RI_r=2 elseif RI_r==2 then RI_r=7 else RI_r=8 end SetRaidTarget("mouseover",RI_r)

Variation on that theme. Without the alt to reset the target this cycles between four icons which should be plenty.

Quote/script if time()>(RI_t or 0) then RI_r=8;RI_t=time()+15 elseif RI_r==8 then RI_r=7 elseif RI_r==7 then RI_r=6 elseif RI_r==6 then RI_r=5 elseif RI_r==5 then RI_r=4 else RI_r=8 end SetRaidTarget("mouseover",RI_r)
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

Gandalf

Mount.

One button mount macro. NOTE: Only reliably works at 80 with full flying skills) This'll cast a flying mount if you're in an area that allows it otherwise it will cast a normal mount.

To set the mount, you need to check the mount position and near the end of the script where you see "MOUNT",1 and "MOUNT",2 you need to change the number to be the mount that you want to cast. So in the example below, for a normal mount I am casting what is in slot 1 (My epic mount) and for my flying mount I am casting what is in slot 2 (which is my netherdrake)

Quote/run C=CallCompanion if(not IsMounted())then if(((GetZoneText()=="Dalaran")and(GetSubZoneText()~="Krasus' Landing"))or(GetZoneText()=="Wintergrasp")or not IsFlyableArea()or IsModifierKeyDown())then C("MOUNT",1)else C("MOUNT",2)end end
/dismount
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

Azunai

#2
Quote from: Gandalf;269928Mount.

One button mount macro. NOTE: Only reliably works at 80 with full flying skills) This'll cast a flying mount if you're in an area that allows it otherwise it will cast a normal mount.

To set the mount, you need to check the mount position and near the end of the script where you see "MOUNT",1 and "MOUNT",2 you need to change the number to be the mount that you want to cast. So in the example below, for a normal mount I am casting what is in slot 1 (My epic mount) and for my flying mount I am casting what is in slot 2 (which is my netherdrake)

Gogo Mount does all that plus randomly picks a mount from your collection too. Works for DK/Lock/Pally mounts, Druid forms (casts travel form if there's nothing faster), the whole shebang. Also adds autodismount, so you don't have to press a dismount button before herbing/mining/skinning or even attacking or using any other item ingame. I love it and couldn't do without it. Allows you to bind a hotkey to it via the hotkey menu so you don't even lose a bar button for it either!

Edit: That link is a patch, so you need to have this original version as well.
or Garrit, or Torgen. Also, Livestream.

Gandalf

Healing macro

#showtooltip
/console Sound_EnableSFX 0
/cast [target=mouseover,exists,nodead][target=playertarget,exists,help][target=focus,exists,nodead][target=player] Heal
/console Sound_EnableSFX 1
/run UIErrorsFrame:Clear()
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

Tirkad

Quote from: Gandalf;285171Healing macro

I've always used healbot since vanilla, it's A LOT more easy to configure and handle than macros on built in interface.

Drakelin


Jim

Grid + Mouseover macro's for PW:S and Renew = win
That Guy that sneaks around from time to time :P

Pr0ski

Drakelin

my normal click on a name gives flash heal, middleclick gives renew, shift+middleclick Prayer of mending,  can do all my spells with my mouse and shift, ctrl or alt :D

JonnyAppleSeed

some info on focus macros

http://www.wowwiki.com/Focus_target

For me roots, cyclone, and sleep all set up to use focus.. my raid frames also show my focus and how long the spell is active

----------------------------------------------------------

example to jiggle to your needs

this is macro for sheeping

#showtooltip Polymorph(Rank 1: Pig)  
/clearfocus [modifier:alt]  
/focus [target=focus,noexists]; [target=focus,dead]  
/clearfocus [target=focus,help]  
/cast [target=focus,exists,harm] Polymorph(Rank 1: Pig)  

if you just press it, it will set your current target as focus(unless you already have focus already), and sheeps (pigs) it, and if u press it normally again, it will sheep your FOCUS target.

if you press it with alt, erases your focus, sets your current target as focus and sheeps it.

you can of course change alt with shift and different porlymorph.

------------------------------------------
It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed, the hands acquire shakes, the shakes become a warning. It is by caffeine alone I set my mind in motion


TeaLeaf

TL.
Wisdom doesn\'t necessarily come with age. Sometimes age just shows up all by itself.  (Tom Wilson)
Talent wins games, but teamwork and intelligence wins championships. (Michael Jordan)

Sithvid

TY Jas will sort it myself,,,then ask for help on TS
Only 2 things are unavoidable
Death and Taxes.

Dead Men Raiding :boxing:
Hunter MOP Main
http://eu.battle.net/wow/en/character/aszune/Sithunter/simple
Druid BOOOOMKIN
http://eu.battle.net/wow/en/character/aszune/sithysithvid/simple

Azunai

Is there any way at all to put multiple spells that both trigger a GCD in 1 macro?

Here's the situation: I would like to combine Stormstrike with Shamanistic Rage. Shamanistic Rage gets used when off CD and when it's on CD the button simply casts Stormstrike. This:
Quote#showtooltip Stormstrike
/console Sound_EnableSFX 0
/use Trinket A
/use Trinket B
/cast Stormstrike
/console Sound_EnableSFX 1
/run UIErrorsFrame:Clear()
is how I normally incorporate Trinkets and Cooldowns that do not trigger a GCD, but when there's more than 1 ability on a GCD in the same macro it doesn't seem to work, at least not by using the above macro. I've tried working with /in, i.e. making it first say "/cast Stormstrike" then "/in 1.5 /cast Shamanistic Rage", but /in and /cast don't combine. Anyone know if what I want is possible at all?
or Garrit, or Torgen. Also, Livestream.

Gandalf

Quote from: Azunai;288710Is there any way at all to put multiple spells that both trigger a GCD in 1 macro?

Here's the situation: I would like to combine Stormstrike with Shamanistic Rage. Shamanistic Rage gets used when off CD and when it's on CD the button simply casts Stormstrike. This:

is how I normally incorporate Trinkets and Cooldowns that do not trigger a GCD, but when there's more than 1 ability on a GCD in the same macro it doesn't seem to work, at least not by using the above macro. I've tried working with /in, i.e. making it first say "/cast Stormstrike" then "/in 1.5 /cast Shamanistic Rage", but /in and /cast don't combine. Anyone know if what I want is possible at all?

I don't believe it is anymore. Blizzard removed that functionality. The only way you could possibly do it is a cast sequence and mash the button several times.
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

Azunai

I was thinking that, but thought maybe there was some more complex way to do it. Makes sense I guess since you could play your entire character with just one button if you set it up properly ^^
or Garrit, or Torgen. Also, Livestream.

Gandalf

Quote from: Azunai;288731I was thinking that, but thought maybe there was some more complex way to do it. Makes sense I guess since you could play your entire character with just one button if you set it up properly ^^

Yeah, I guess that is their reasoning behind it. Though limiting each macro to 255 chars also hampers things. Surely they've heard of longtext fields :D
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.