Re: Super Duper Macro Thread

Does anyone know ohw to make an uber hunter macro that is an "attack macro" that would cast auto-shot if the target was outside 8 yards and would cast the melee auto-attack if the target is inside 8 yards?

Dathuuga, 70 Orc Hunter - Deathwing
Atsuuya, 70 Orc Shaman - Deathwing

Re: Super Duper Macro Thread

Originally posted by: AnuthaDude
Does anyone know ohw to make an uber hunter macro that is an "attack macro" that would cast auto-shot if the target was outside 8 yards and would cast the melee auto-attack if the target is inside 8 yards?

It would require some research on some stuff, but its possible.  I'll check it out if I get free time.

"The first duty in life is to assume a pose. What the second duty is, no one has yet found out."
-Oscar Wilde

Re: Super Duper Macro Thread

I didn't think you could make macros that were "triggered" by events, I always thought there had to be the clicking of the button to activate them.

COOLEST CAR EVER
http://www.albinoblacksheep.com/flash/war.php

29

Re: Super Duper Macro Thread

Originally posted by: AnuthaDude
Does anyone know ohw to make an uber hunter macro that is an "attack macro" that would cast auto-shot if the target was outside 8 yards and would cast the melee auto-attack if the target is inside 8 yards?

You mean so it'd play for you, like a bot?  I would think macros that would let the player kill things without needing to be at the computer would be considered an "exploit".

Re: Super Duper Macro Thread

Originally posted by: darin

Originally posted by: AnuthaDude
Does anyone know ohw to make an uber hunter macro that is an "attack macro" that would cast auto-shot if the target was outside 8 yards and would cast the melee auto-attack if the target is inside 8 yards?

You mean so it'd play for you, like a bot?  I would think macros that would let the player kill things without needing to be at the computer would be considered an "exploit".

I don't think he was talking about an auto-attack, but rather a button he could press to attack.    If he pressed it, it would then attack melee or ranged, depending on the distance the target was from him.

31

Re: Super Duper Macro Thread

Important Warlock Macro (post lvl 42):

/script for i = 1,30,1 do CastPetAction(7); end

If Paranoia is not in pet spell slot 7 then change the number to the correct slot or move Paranoia to slot 7.

This will allow you to spam Paranoia with your Felhunter and gain aggro far better than VW.  Paranoia is free to use and can be used unlimtedly, making VW obsolete, especially considering Felhunter is probably the best PvP pet.

Cheers

Note by Viserys: As of a recent patch, Paranoia no longer generates aggro, rendering this macro obsolete.

http://img183.imageshack.us/img183/6940/zangiefbw5.gif

Re: Super Duper Macro Thread

Originally posted by: CurtisTheGreat

Originally posted by: darin

Originally posted by: AnuthaDude
Does anyone know ohw to make an uber hunter macro that is an "attack macro" that would cast auto-shot if the target was outside 8 yards and would cast the melee auto-attack if the target is inside 8 yards?

You mean so it'd play for you, like a bot?  I would think macros that would let the player kill things without needing to be at the computer would be considered an "exploit".

I don't think he was talking about an auto-attack, but rather a button he could press to attack.    If he pressed it, it would then attack melee or ranged, depending on the distance the target was from him.

curt has it right... I just want a macro that would allow me to combine "auto-shot" and "attack" into one button, and so say i see dirandi and i attack him by hitting the macro and its the ranged attack b/c hes far away, he runs up inside 8 yards, and i hit the button again and it triggers my normal melee attack...

Dathuuga, 70 Orc Hunter - Deathwing
Atsuuya, 70 Orc Shaman - Deathwing

Re: Super Duper Macro Thread

Here you go Anutha smile

/Cast Attack
/script if(IsUsableAction(x)) then CastSpellByName("Auto Shot"); end


Substitue x for the slot # that Auto Shot is in or it wont work.  Also, you have to cast it again to make it shoot if the enemy starts to run, etc.


EDIT: Sorry it took so long tongue

"The first duty in life is to assume a pose. What the second duty is, no one has yet found out."
-Oscar Wilde

Re: Super Duper Macro Thread

Originally posted by: Soap
Important Warlock Macro (post lvl 42):

/script for i = 1,30,1 do CastPetAction(7); end

If Paranoia is not in pet spell slot 7 then change the number to the correct slot or move Paranoia to slot 7.

This will allow you to spam Paranoia with your Felhunter and gain aggro far better than VW.  Paranoia is free to use and can be used unlimtedly, making VW obsolete, especially considering Felhunter is probably the best PvP pet.

Cheers


Just FYI, this exploit (Paranoia causing aggro) is being fixed in the coming patch. I'm not a fan of exploits anyway.

EDIT: Useful script function I use. If you're in a raid, it'll send some text through raid chat, otherwise if you're in a party it'll send it through party chat, and if you're solo it won't say anything.

/script if(GetNumRaidMembers() >= 1) then
        SendChatMessage("YOUR MESSAGE HERE","RAID");
    elseif(GetNumPartyMembers() >= 1) then
        SendChatMessage("YOUR MESSAGE HERE","PARTY");
    end

I actually have my own addon that's simply a list of functions I wrote, called 'myfunctions'. So if I want to do the above in a macro I'd put

/script myfunctions_grpMessage("YOUR MESSAGE HERE")
http://card.mygamercard.net/gelsig/gold/SansSariph.png

Re: Super Duper Macro Thread

I snagged this from the official forums.  It's very convenient.

Many of you probably have an "assist" macro that you can activate to select the main assist's target.  Here's a macro that will automatically create an assist macro so that you don't have to keep changing it whenever you go on a new raid and have a new main assist.

You will need to have an existing "assist" macro, though it can be empty to begin with.

/script if (UnitName("target") ~= nil) then EditMacro(1, "Assist "..UnitName("target"), nil, "/assist "..UnitName("target"), 1) end
/script SaveMacros() 

(you may need to modify the first argument to "EditMacro" to reflect which slot your assist macro is in.)

To use, target the new MA, use the macro, and your assist macro will be updated.

<Viserys> I'm sitting here slapping someone's ass
<Viserys> and there's no gratification

Re: Super Duper Macro Thread

I need help with this druid macro.

What it does is you click it once, it casts nature's swiftness(easy enough)
then, supposedly, you click it again and it casts healing touch on urself.  I'd like to ask some1 to plz fillit in for me so it doesn't have the group msg, and so it works.  I know you have to put in rank, but I dont know the sequence of symbols before/after the rank number.. or anything!

/cast Nature's Swiftness
/script ns = not ns; if (ns == true) then SendChatMessage("Nature\'s Swiftness activated!",PARTY); end; for i=10,1,-1 do CastSpellByName("Healing Touch(Rank " .. i .. ")");SpellTargetUnit("player");end;

/helpless!

the wink s are ; ), without the space

COOLEST CAR EVER
http://www.albinoblacksheep.com/flash/war.php

Re: Super Duper Macro Thread

/cast Nature's Swiftness 
/script ns = not ns; if (ns == true) then SendChatMessage("Nature\'s Swiftness activated!",PARTY); end; for i=10,1,-1 do CastSpellByName("Healing Touch(Rank " .. i .. ")");SpellTargetUnit("player");end; 

/me analyzes those lines.

I'd try:

/cast Nature's Swiftness
/script CastSpellByName("Healing Touch(Rank 1)");


You'd need to manually update the rank number as you get new versions of the spell.
GL!

http://card.mygamercard.net/gelsig/gold/SansSariph.png

Re: Super Duper Macro Thread

/cast Nature's Swiftness
/script CastSpellByName("Healing Touch(Rank 1)");

Vis: That wont work, you can't cast 2 spells in one macro, and it wont do what was described, it needs something to check which spell to cast

If you want healing touch to cast on a target then use this:

/script ns=1; if (ns == 1) then CastSpellByName("Nature's Swiftness(Rank x)"); ns=0; else CastSpellByName("Healing Touch(Rank x)"); ns=1; end

If you want healing touch to be cast on yourself use:

/script ns=1; if (ns == 1) then CastSpellByName("Nature's Swiftness(Rank x)"); ns=0; else CastSpellByName("Healing Touch(Rank x)"); SpellTargetUnit("player");ns=1; end

Either way, you need to replace the "Rank x"s with the correct level of the spell.  If natures swiftness only has 1 lvl then it would be Rank 1.

"The first duty in life is to assume a pose. What the second duty is, no one has yet found out."
-Oscar Wilde

Re: Super Duper Macro Thread

I've heard Nature's Swiftness doesn't trigger the global cooldown, which is the issue with casting multiple spells, no?

http://card.mygamercard.net/gelsig/gold/SansSariph.png

Re: Super Duper Macro Thread

Originally posted by: Viserys
I've heard Nature's Swiftness doesn't trigger the global cooldown, which is the issue with casting multiple spells, no?

What is Nature's Swiftness? lol

EDIT: Use Vis's, I didnt know what natures swiftness was/did/how it worked.

"The first duty in life is to assume a pose. What the second duty is, no one has yet found out."
-Oscar Wilde

Re: Super Duper Macro Thread

I tried Viserys's version with Presence of Mind / Pyroblast and that didnt work, even though (I dont think) PoM triggers the global cooldown.

I could be wrong, but I dont think I am.

Re: Super Duper Macro Thread

In that case, I don't really know what to do. You could make it cast PoM/NS with one click, then a spell with a second, but that defeats the purpose of macro'ing it imo. It'd be just as easy to click the two spells.
EDIT: Pac, in your test, did it cast either spell, or neither?

http://card.mygamercard.net/gelsig/gold/SansSariph.png

Re: Super Duper Macro Thread

I'm not sure if this works with WoW LUA, but you could try it:

/script if(CastSpellByName("Presence of Mind(Rank 1)") then CastSpellByName("Pyroblast(Rank x)"); end


As always change "Rank x" to the correct spell level.

"The first duty in life is to assume a pose. What the second duty is, no one has yet found out."
-Oscar Wilde

Re: Super Duper Macro Thread

Whats the script command to run a macro by either name or slot?

45

Re: Super Duper Macro Thread

Originally posted by: Viserys
I've heard Nature's Swiftness doesn't trigger the global cooldown, which is the issue with casting multiple spells, no?


Nature's swiftness does trigger the global cooldown.

I've just got the buttons next to each other, but that's obviously not a great solution.   I too, would like to see a "omg save my ass" button I could spam wink

http://card.mygamercard.net/mini/crastor.pnghttp://myanimelist.net/signature/crast.png
"Throw away logic and kick reason to the curb"

46

Re: Super Duper Macro Thread

I know zero about macros or programing but I wonder if the following macros can be done.  I have never used macros before but I can tell alot of people us them when I pvp. I am sure the warrior ones can be a real easy but the rouge/druid one may be more difficult.

Rouge or druid

Can anyone show me a macro that would do the following:

1. Check to see if you are infront or behind the target,
2. If behind the target then "backstab"
3. If infront of the target then do a different type of attack like say claw.

I would also like a macro for my druid that will have him stomp then cast a heal spell like regrowth.


Warrior

I would like to see a macro for fury warrior that just before you execute, it switches to a two handed weapon.  It would be great if after execute it rewields the duel wield weapons but that may be asking two much.  This could be the same for protectective sword and board warriors to I guess.

I would also like to see dismount, switch to battle stancecharge, rage and then switch to berserker stance.  If you are in battle stance already, what can be done to prevent from the macro not woring?

thanks for any help that can be given

Re: Super Duper Macro Thread

you can't use 2 /cast's in the same macro, so the second warrior one would be impossible, your first warrior one could be done with a macro like

/script UseContainerItem(1,1);   which, given your 2h weapon is in that slot, it would switch to the 2h, then make a seperate macro to switch back to the 2h dual wielding weapons (if possible). not sure how to check a mob's HP is at or below 20% though

no clue about the behind/in front thing, but you can't do the stomp/heal macro because you'd need 2 /casts

come to think of it though, if your druid has nature's swiftness you could hook up an instant cast heal

/cast Nature's Swiftness
/script SpellStopCasting();
/cast Healingspell(rank x);
/tar YourNameHere

you'd have to be standing still for this to work though

I DO COCAAAAIIINNNEE
http://onesadkangaroo.ytmnd.com/
scientology

48

Re: Super Duper Macro Thread

Originally posted by: Grind
I would like to see a macro for fury warrior that just before you execute, it switches to a two handed weapon.  It would be great if after execute it rewields the duel wield weapons but that may be asking two much.  This could be the same for protectective sword and board warriors to I guess.

There is a 1 second (I think it's 1 sec for warriors) cooldown on using abilities after switching a weapon, so a macro like this won't work any more.  Warriors used to be able to dual wield and then instantly switch to a slow 2-hander to execute/overpower and switch back all with 1 macro.  Same thing with rogues being able to macro switching in a dagger for Ambush/BS and then right back to a sword.  The cooldown was added so that you can't get the benefit of using a slow 2-hander for instant attacks while using fast 1-h weapons.

Your best bet is to use an addon called WeaponQuickSwap and set up 1 button to change weapons and another one to use execute, etc.  The weapon switch can be done with in-game macros, but IMO it's too clumbsy and restrictive (your weapons always have to be in the same bag slot).

http://wow.tachyonsix.com.nyud.net:8080/armory/sig.php/204185YlUIu.png

Re: Super Duper Macro Thread

Originally posted by: Grind
1. Check to see if you are infront or behind the target,
2. If behind the target then "backstab"
3. If infront of the target then do a different type of attack like say claw.


/cast Backstab (Rank 9)
/cast Sinister Strike (Rank 8)


No need to figure out whether or not you're behind your target.  If the Backstab cast fails, it should fall through to the SS cast instead.  If the Backstab cast succeeds, then the global cooldown will keep you from using SS.

<Viserys> I'm sitting here slapping someone's ass
<Viserys> and there's no gratification

50

Re: Super Duper Macro Thread

/cast Backstab (Rank 9)
/cast Sinister Strike (Rank 8)


[/quote]No need to figure out whether or not you're behind your target.  If the Backstab cast fails, it should fall through to the SS cast instead.  If the Backstab cast succeeds, then the global cooldown will keep you from using SS.
[/quote]

I am guessing that can go for the same for execute and heroic strike

Let me ask another question is there a way to have a maro check to see if a debuff is on a target.  For instance:

Instance 1:
Check to see if the target has the mortal strike debuff on.
If no, then Mortal Strike
If yes, then Heroric strike

I am not sure yet if this a good idea but this seems to be a good place to start learning some macro tricks.