1. #4121
    Stood in the Fire Chaltione's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    459
    This should say the first message on ctrl, and the other message on alt.
    Code:
    /run local s1,s2,s="URSA KICK!","WHOOSH!" if IsControlKeyDown() then s=s1 elseif IsAltKeyDown() then s=s2 end if s then SendChatMessage(s,"YELL") end
    replace IsControlKeyDown() and IsAltKeyDown() with eachother or IsShiftKeyDown() and mix around as needed.

    The code is not spam secure, so spamming it will send the message multiple times.

  2. #4122
    High Overlord Aqacia's Avatar
    Join Date
    Jul 2009
    Location
    Sweden
    Posts
    144
    Im looking for a macro that will change the spell depending on what talent I've chosen. For example:


    In Mage's talent tree tier one; If I'm specced in Scorch, I want the macro to show tooltip for scorch if I mouse over it and cast scorch when I press it. If I'm specced into Presence of Mind, I want it to show tooltip for PoM when I mouse over it and cast it when I press it. If I'm specced into Icy Floes, it shows that spell...

    I also need a macro for the other tiers, but I guess I can just replace the spell's name in the macro for each tier.

    Thank you very much!

  3. #4123
    Quote Originally Posted by Aqacia View Post
    Im looking for a macro that will change the spell depending on what talent I've chosen. For example:


    In Mage's talent tree tier one; If I'm specced in Scorch, I want the macro to show tooltip for scorch if I mouse over it and cast scorch when I press it. If I'm specced into Presence of Mind, I want it to show tooltip for PoM when I mouse over it and cast it when I press it. If I'm specced into Icy Floes, it shows that spell...

    I also need a macro for the other tiers, but I guess I can just replace the spell's name in the macro for each tier.

    Thank you very much!
    Here you go.

  4. #4124
    High Overlord Aqacia's Avatar
    Join Date
    Jul 2009
    Location
    Sweden
    Posts
    144
    Quote Originally Posted by Squirl View Post
    Thank you!

  5. #4125
    Quote Originally Posted by r0cki View Post
    Need a macro for several fly mounts (Onyxia, Cloud Serpent, and some more i might feel like using), and also for some ground mounts (Huntsman Horse, Raven Lord, etc).

    Can anyone help me?

    Thanks!
    If you want random mounts:
    Not sure if this still works
    Code:
    /userandom [flyable] FMOUNT1, FMOUNT2, FMOUNT3; MOUNT1, MOUNT2
    replace MOUNTX with the mounts name, gets really long with lots of mounts.

    This should: (is better if you want more mounts )
    Code:
    /run local m if IsFlyableArea() then m={1,3,5} else m={2,4,8}end CallCompanion("MOUNT",m[random(#m)])
    Replace 1,3,5 with your flying mounts index (in mount tab) and 2,4,8 with ground mount indices. (you can list as many mounts you want, just separate them with commas)

    You can get a full list of your mounts with indices:
    Code:
    /run for i=1,GetNumCompanions("mount") do print(i..": "..select(2,GetCompanionInfo("mount",i)))end
    If you want to search a specific mount
    Code:
    /run local n for i=1,GetNumCompanions("mount") do n=select(2,GetCompanionInfo("mount",i)) if strfind(n,"Black") then print(i,n)end end
    Replace Black with the search term. (This will show every mounts index with Black in its name, and also its name (by searching black you get more than 1 so it's nice to see the name too)
    Last edited by sshika; 2012-12-01 at 01:38 AM.

  6. #4126
    Stood in the Fire ODDLAWL's Avatar
    Join Date
    Dec 2009
    Location
    Mexico/USA
    Posts
    414
    Quote Originally Posted by Tearor View Post
    Code:
    #showtooltip
    /cast [mod:shift/alt][@mouseover, help, nodead][] Penance
    This will so what I read you want the macro to do, and if you're neither mouseovering a friendly target or pressing alt or shift, the button will behave just like the normal spell (hence the []).
    Aw man thanks so much!

  7. #4127
    Hello. I am looking for a macro on my priest as I filled up all my bars with various macros and spells. Now I need to get more spells in one macro.

    I was looking for a macro that can room 3 spells with Mod:.

    If this is possible to make I would love to have one that goes like this:

    The non modifyed button is Vampiric Touch
    Shift Mod: Flash heal
    Ctrl Mod: Levitate

    Not sure if its important or not, but they will be used with the bind "q"

    Thank you.

  8. #4128
    Code:
    #showtooltip
    /use [mod:shift] Flash Heal; [mod:ctrl] Levitate; Vampiric Touch

  9. #4129
    Quote Originally Posted by Sakpoth View Post
    Code:
    #showtooltip
    /use [mod:shift] Flash Heal; [mod:ctrl] Levitate; Vampiric Touch

    Thanks a million kind sir!

  10. #4130
    Dreadlord MetalheroDamien's Avatar
    Join Date
    Nov 2009
    Location
    Where ever I am, there I am.
    Posts
    807
    Quote Originally Posted by Chaltione View Post
    This should say the first message on ctrl, and the other message on alt.
    Code:
    /run local s1,s2,s="URSA KICK!","WHOOSH!" if IsControlKeyDown() then s=s1 elseif IsAltKeyDown() then s=s2 end if s then SendChatMessage(s,"YELL") end
    replace IsControlKeyDown() and IsAltKeyDown() with eachother or IsShiftKeyDown() and mix around as needed.

    The code is not spam secure, so spamming it will send the message multiple times.
    Will it say nothing if I hit neither?
    Nostalgia is the hollow remnants of memories long gone.

    -Kaito Kumon (Kamen Rider Baron)

  11. #4131
    That is correct.
    UI & AddOns expert | Interface & Macros moderator - My work

  12. #4132
    this macro was one of the most good macro for me

    /cast Crusader strike
    /cast Fist of Justice
    /cast Holy Prism

    now after 5.1 didn't work it just cast Crusader strike or Holy Prism if i put it like that

    /cast Holy Prism
    /cast Crusader strike
    /cast Fist of Justice

    why i cant use it like before cast every thing

  13. #4133
    Hi guys,

    I am a pally trying to figure this out for the spell Execution Sentence. As you know it can be cast on enemies as a DOT or friends as a HOT.

    Goal: Make it cast on my mouseover friendly target > Cast on my mouseover enemy target > Cast on my selected target > Cast on myself.

    Reason is that if I'm DPSing a enemy down, but want to pop a quick heal on my buddy, I mouseover him and hit the macro to heal him. Without dropping my selected target. Got this so far but I am afraid I've overcomplicated it.

    #showtooltip Execution Sentence
    /cast [@mouseover,harm,exists][@mouseover,help,exists][harm][help][@player] Execution Sentence


    ========================================

    Second macro is for use in the MSV boss. I'm tanking and put in charge of the Shroud of Reversal buff.

    Using this to help absorb fists of justice but it doesn't seem to work!

    /tar [@targettarget, exists] ; OtherTanksName
    /Click ExtraActionButton1
    /targetlasttarget

    Can anyone check if my macro's working right?

  14. #4134
    Quote Originally Posted by Minaa View Post
    this macro was one of the most good macro for me

    /cast Crusader strike
    /cast Fist of Justice
    /cast Holy Prism

    now after 5.1 didn't work it just cast Crusader strike or Holy Prism if i put it like that

    /cast Holy Prism
    /cast Crusader strike
    /cast Fist of Justice

    why i cant use it like before cast every thing
    Is one of these on the GCD?
    UI & AddOns expert | Interface & Macros moderator - My work

  15. #4135
    Epic! Tearor's Avatar
    Join Date
    Dec 2007
    Location
    Դժոխք
    Posts
    1,642
    Quote Originally Posted by Booniehat View Post
    #showtooltip Execution Sentence
    /cast [@mouseover,harm,exists][@mouseover,help,exists][harm][help][@player] Execution Sentence
    Code:
    #showtooltip
    /cast [@mouseover,harm][@mouseover,help][exists][@player] Execution Sentence
    This would be what you wrote, but de-complicated.
    I would suggest a change though, namely replace [exists][@player]with a simple []. That way, it will cast on your normal target if no mouseover exists, and you can cast it on yourself with alt held down. The reason for the change is that now you can force-cast it on yourself with alt, whereas you would have needed to deselect your target with the original macro, in order to cast on yourself.
    Also, I suggest a "nodead" in the mouseover conditionals, hotting a dead friend is resulting in a "target is dead" error anyway; also, usually, "exists" is implied by "help"/"harm". (Also, #showtooltip usually works fine without anything).
    Resulting in
    Code:
    #showtooltip
    /cast [@mouseover,harm,nodead][@mouseover,help,nodead][] Execution Sentence
    EDIT :
    Which consequently can be reduced to
    Code:
    #showtooltip
    /cast [@mouseover,exists,nodead][] Execution Sentence
    Last edited by Tearor; 2012-12-04 at 09:35 AM.
    No point mentioning these bats, I thought. The poor bastard will see them soon enough.

  16. #4136
    Stood in the Fire Chaltione's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    459
    Quote Originally Posted by Booniehat View Post
    Second macro is for use in the MSV boss. I'm tanking and put in charge of the Shroud of Reversal buff.

    Using this to help absorb fists of justice but it doesn't seem to work!

    /tar [@targettarget, exists] ; OtherTanksName
    /Click ExtraActionButton1
    /targetlasttarget

    Can anyone check if my macro's working right?
    If you're able to use the focus frame on your other tank, that is something I find to be very helpful for keeping an eye on all sorts of tank swap debuffs, and allows me to always have macros to "target the other tank", no matter the name of the other tank.

    This is what I use for Feng (the mouseover is so I can easily grab a debuff from another raid member, like Arcane Resonance):
    Code:
    /target [@mouseover,help][@focus]
    /click ExtraActionButton1
    /targetlastenemy
    Yours might work better like this:
    Code:
    /tar [@targettarget, exists][@OtherTanksName]
     /Click ExtraActionButton1
     /targetlastenemy
    One last thing, and I'm only mentioning this out of completeness. Shroud of Reversal is a channel, and is interrupted by movement and most likely using other abilities, so once you click this macro, you have to stand still and not do anything until the channel grabs the Fist.

  17. #4137
    Hello! First of all i wanna say im using an Razer naga with the 1-12 extra buttons.

    Im using button 10-12 on the naga for arena targets ( /target arena1-3 ), is it possible to get like an modifier when i press ctrl it focus them ( /focustarget arena 1-3 )?

    Thanks.

  18. #4138
    Quote Originally Posted by timpangoeselite View Post
    Hello! First of all i wanna say im using an Razer naga with the 1-12 extra buttons.

    Im using button 10-12 on the naga for arena targets ( /target arena1-3 ), is it possible to get like an modifier when i press ctrl it focus them ( /focustarget arena 1-3 )?

    Thanks.
    Code:
    /target [nomod] arena1
    /focus [mod:ctrl, @arena1]
    I've heard of an issue with modifiers and the razar naga, but can't remember it ;(, otherwise it should work

  19. #4139
    Quote Originally Posted by sshika View Post
    I've heard of an issue with modifiers and the razar naga, but can't remember it ;(, otherwise it should work
    Shift doesn't play well with num keys. Alt and ctrl are fine.

  20. #4140
    Quote Originally Posted by Chaltione View Post
    If you're able to use the focus frame on your other tank, that is something I find to be very helpful for keeping an eye on all sorts of tank swap debuffs, and allows me to always have macros to "target the other tank", no matter the name of the other tank.

    This is what I use for Feng (the mouseover is so I can easily grab a debuff from another raid member, like Arcane Resonance):
    Code:
    /target [@mouseover,help][@focus]
    /click ExtraActionButton1
    /targetlastenemy
    Yours might work better like this:
    Code:
    /tar [@targettarget, exists][@OtherTanksName]
     /Click ExtraActionButton1
     /targetlastenemy
    One last thing, and I'm only mentioning this out of completeness. Shroud of Reversal is a channel, and is interrupted by movement and most likely using other abilities, so once you click this macro, you have to stand still and not do anything until the channel grabs the Fist.
    Very much appreciated!

    ---------- Post added 2012-12-05 at 12:13 AM ----------

    Quote Originally Posted by Tearor View Post
    Code:
    #showtooltip
    /cast [@mouseover,harm][@mouseover,help][exists][@player] Execution Sentence
    This would be what you wrote, but de-complicated.
    I would suggest a change though, namely replace [exists][@player]with a simple []. That way, it will cast on your normal target if no mouseover exists, and you can cast it on yourself with alt held down. The reason for the change is that now you can force-cast it on yourself with alt, whereas you would have needed to deselect your target with the original macro, in order to cast on yourself.
    Also, I suggest a "nodead" in the mouseover conditionals, hotting a dead friend is resulting in a "target is dead" error anyway; also, usually, "exists" is implied by "help"/"harm". (Also, #showtooltip usually works fine without anything).
    Resulting in
    Code:
    #showtooltip
    /cast [@mouseover,harm,nodead][@mouseover,help,nodead][] Execution Sentence
    EDIT :
    Which consequently can be reduced to
    Code:
    #showtooltip
    /cast [@mouseover,exists,nodead][] Execution Sentence
    Thanks very much for this. Can I ask, what are the [harm] and [help] conditions for then? It seems to me like you could get by without every using those. Or is it so if you macro [help] with execution sentence, you'd never be able to cast it on an enemy, only to HOT a friend?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •