1. #4041
    Pandaren Monk Tearor's Avatar
    Join Date
    Dec 2007
    Location
    Դժոխք
    Posts
    1,877
    Just wondering right now - thought of a macro during commuting to work, and couldn't get my head around it how to do it - can't test atm, just sharing my thoughts.

    What I want is a macro for Havoc (WL spell). If I have a focus, I want to cast Havoc on it, if not, then on my last target (and if that doesn't exist use it normally, but I don't even get that far).

    So what I want would be something like

    /cast [@focus, harm][@lasttarget, harm][] Havoc

    or

    /cast [@focus, harm] Havoc
    /stopmacro [focusexists]
    /targetlasttarget
    /cast Havoc
    /targetlasttarget

    But I (think I) know the bold conditions don't exist.
    Any input?
    No point mentioning these bats, I thought. The poor bastard will see them soon enough.

  2. #4042
    Herald of the Titans Jigain's Avatar
    Join Date
    Dec 2011
    Location
    Sweden
    Posts
    2,718
    Quote Originally Posted by Tearor View Post
    /cast [@focus, harm] Havoc
    /stopmacro [@focus,exists]
    /targetlasttarget
    /cast Havoc
    /targetlasttarget
    That ought to work.

  3. #4043
    Pandaren Monk Tearor's Avatar
    Join Date
    Dec 2007
    Location
    Դժոխք
    Posts
    1,877
    Quote Originally Posted by Jigain View Post
    That ought to work.
    I didn't know /stopmacro worked with that. Will try asap, thanks!
    Is there a specific reason why there isn't a @lasttarget conditional and one has to work around it all the time with /targetlasttarget?
    No point mentioning these bats, I thought. The poor bastard will see them soon enough.

  4. #4044
    I've been having some trouble with my arena1,2,3 cast macro's. I want it to cast the spell at the arena target and at my current target if the arena target doesnt exist. So far I have /cast [target=arena3,exists][] spell. This works like a charm in arena's and pve, but somehow it doesnt work inside battlegrounds. Does anybody know a macro that works?

  5. #4045
    Okay, I'm making a healing monk and I exclusively heal thru keybindings and mouseover macros, plus I want to use melee attacks Jab/Expel Harm/Tiger Palm to generate cha when i can. I typically have a mob targeted during combat.

    I need a macro that when I hit the keybinding it casts a healing spell (help) on my mouseover target, and if I use a modifier it attacks my target with a Harm spell.

    This is what I've been trying to get work, but the attack doesn't work, at least on the training dummy

    #showtooltip Renewing Mist
    /cast [@mouseover,nomodifier,help] Renewing Mist;
    [@target,modifier,harm,exists] Jab

  6. #4046
    Quote Originally Posted by BugNuggets View Post
    Okay, I'm making a healing monk and I exclusively heal thru keybindings and mouseover macros, plus I want to use melee attacks Jab/Expel Harm/Tiger Palm to generate cha when i can. I typically have a mob targeted during combat.

    I need a macro that when I hit the keybinding it casts a healing spell (help) on my mouseover target, and if I use a modifier it attacks my target with a Harm spell.

    This is what I've been trying to get work, but the attack doesn't work, at least on the training dummy

    #showtooltip Renewing Mist
    /cast [@mouseover,nomodifier,help] Renewing Mist;[@target,modifier,harm,exists] Jab
    It should work, check if it is on one line. Btw. the @target is not needed, because it will automatically cast it to your target if you don't specify it, and the exists and harm is neither because you don't have any other option to cast at.
    Code:
    /cast [@mouseover,nomod,help] Renewing Mist;[mod] Jab
    Last edited by sshika; 2012-11-10 at 09:41 PM.

  7. #4047
    Quote Originally Posted by sshika View Post
    It should work, check if it is on one line. Btw. the @target is not needed, because it will automatically cast it to your target if you don't specify it, and the exists and harm is neither because you don't have any other option to cast at.
    Code:
    /cast [@mouseover,nomod,help] Renewing Mist;[mod] Jab
    Even shorter:

    Code:
    /cast [mod] Jab;[@mouseover,help] Renewing Mist

  8. #4048
    I'm looking for a macro to buy Justice Points (with Honor Points):


    I've tried this but it doesn't work (no error message). This works for other items (i.e. Jeweler's Setting) but not Justice Points :/

    Code:
    /run for i=1,GetMerchantNumItems() do local l=GetMerchantItemLink(i) if l then if l:find("Justice Points") then BuyMerchantItem(i, 1)end end end

    I think the problem is that "Justice Points" appears on Wowhead as a currency, not an item. Additionally, it's a currency exchange (Honor for Justice) which might be another factor. So I think the macro will need to have something like BuyMerchantCurrency instead of BuyMerchantItem, I'm just not sure how to edit the macro.

  9. #4049
    Quote Originally Posted by Squirl View Post
    Even shorter:

    Code:
    /cast [mod] Jab;[@mouseover,help] Renewing Mist
    This shouldnt work, because if you press no modifier and have no mouseover it won't use either ability

    /use [mod]Jab; [@mouseover,help,exists][]Renewing Mist

  10. #4050
    Quote Originally Posted by HunterSalty View Post
    I'm looking for a macro to buy Justice Points (with Honor Points):


    I've tried this but it doesn't work (no error message). This works for other items (i.e. Jeweler's Setting) but not Justice Points :/

    Code:
    /run for i=1,GetMerchantNumItems() do local l=GetMerchantItemLink(i) if l then if l:find("Justice Points") then BuyMerchantItem(i, 1)end end end

    I think the problem is that "Justice Points" appears on Wowhead as a currency, not an item. Additionally, it's a currency exchange (Honor for Justice) which might be another factor. So I think the macro will need to have something like BuyMerchantCurrency instead of BuyMerchantItem, I'm just not sure how to edit the macro.
    You can't get the item link of justice points, use GetMerchantItemInfo(), and you can't specify the amount you want to buy.
    Code:
    /run for i=1,GetMerchantNumItems() do local l=GetMerchantItemInfo(i) if l then if l:find("Justice Points") then BuyMerchantItem(i)end end end

  11. #4051
    Hello guys
    a simple question. I'm trying to create a macro to merge some spells because I have some "physiological" difficulties with the keyboard (nothing serious but enough annoying to create me problems during the raids). The rotation of the moonkin is divided into two phases. My problem is during the first part. Too many buttons to press.
    Briefly... I would like to create a macro with a simple sequence, but within this sequence there's a spell with a cooldown (3 mins). So, if I use the macro when this spell is ready, everything works. But if the spell is on cooldown, the macro stops and doesn't continue.
    Question: is there a way (via scripts / variables) to ensure that the macro continues, however, even if a particular spell is not ready (cd)?
    It could be fine use the command /click ActionBotton# only for this spell or the macro execute only this command without continue with /castsequence?
    Any ideas or suggestions about this are welcome.
    Thank you.

  12. #4052
    Quote Originally Posted by Thelothian View Post
    Hello guys
    a simple question. I'm trying to create a macro to merge some spells because I have some "physiological" difficulties with the keyboard (nothing serious but enough annoying to create me problems during the raids). The rotation of the moonkin is divided into two phases. My problem is during the first part. Too many buttons to press.
    Briefly... I would like to create a macro with a simple sequence, but within this sequence there's a spell with a cooldown (3 mins). So, if I use the macro when this spell is ready, everything works. But if the spell is on cooldown, the macro stops and doesn't continue.
    Question: is there a way (via scripts / variables) to ensure that the macro continues, however, even if a particular spell is not ready (cd)?
    It could be fine use the command /click ActionBotton# only for this spell or the macro execute only this command without continue with /castsequence?
    Any ideas or suggestions about this are welcome.
    Thank you.
    I'm not sure if the reset function works for this, but you could try.
    Should be something like /castsequence reset=XX seconds Spell, spell, spell

    So if your CD is 3 minutes, it should say 180 seconds, if I'm not completely retarded now.
    But as I said, I'm not sure if this will work in this case.
    My Priest
    (my old paladin)Bályn <Reunion> - Silvermoon EU

  13. #4053
    Quote Originally Posted by Thelothian View Post
    Hello guys
    a simple question. I'm trying to create a macro to merge some spells because I have some "physiological" difficulties with the keyboard (nothing serious but enough annoying to create me problems during the raids). The rotation of the moonkin is divided into two phases. My problem is during the first part. Too many buttons to press.
    Briefly... I would like to create a macro with a simple sequence, but within this sequence there's a spell with a cooldown (3 mins). So, if I use the macro when this spell is ready, everything works. But if the spell is on cooldown, the macro stops and doesn't continue.
    Question: is there a way (via scripts / variables) to ensure that the macro continues, however, even if a particular spell is not ready (cd)?
    It could be fine use the command /click ActionBotton# only for this spell or the macro execute only this command without continue with /castsequence?
    Any ideas or suggestions about this are welcome.
    Thank you.
    Not possible, if you need more key bindings try using modifiers (alt, shift, ctrl, whichever you like best)

    Quote Originally Posted by chief View Post
    I'm not sure if the reset function works for this, but you could try.
    Should be something like /castsequence reset=XX seconds Spell, spell, spell

    So if your CD is 3 minutes, it should say 180 seconds, if I'm not completely retarded now.
    But as I said, I'm not sure if this will work in this case.
    This will only reset it to the first spell after the macro isn't executed for XX seconds.
    Last edited by sshika; 2012-11-12 at 10:12 AM.

  14. #4054
    Quote Originally Posted by sshika View Post
    Not possible, if you need more key bindings try using modifiers (alt, shift, ctrl, whichever you like best)



    This will only reset it to the first spell after the macro isn't executed for XX seconds.
    As I thought then. Ah well :<
    My Priest
    (my old paladin)Bályn <Reunion> - Silvermoon EU

  15. #4055
    Quote Originally Posted by Dosa View Post
    You could use the following piece if you're using the /yell together with a spell:
    Just change the bolded text to your needs. You can change "CHAT" to SAY, YELL, PARTY, RAID but not custom channels such as General or Trade.
    As an example; this is what I use for my Mana Tide Totem macro:

    #showtooltip Mana Tide Totem
    /run if GetSpellCooldown("Mana Tide Totem") == 0 then SendChatMessage("--[Mana Tide Totem] used!--","PARTY") end
    /cast Mana Tide Totem

    It checks if the spell is not on cooldown and if that is true then sends a chat message to specified chat.
    Dunno if I missed it on some post but is there any possibility to add the target to whom u have casted?

  16. #4056
    Quote Originally Posted by Thelothian View Post
    Hello guys
    a simple question. I'm trying to create a macro to merge some spells because I have some "physiological" difficulties with the keyboard (nothing serious but enough annoying to create me problems during the raids). The rotation of the moonkin is divided into two phases. My problem is during the first part. Too many buttons to press.
    Briefly... I would like to create a macro with a simple sequence, but within this sequence there's a spell with a cooldown (3 mins). So, if I use the macro when this spell is ready, everything works. But if the spell is on cooldown, the macro stops and doesn't continue.
    Question: is there a way (via scripts / variables) to ensure that the macro continues, however, even if a particular spell is not ready (cd)?
    It could be fine use the command /click ActionBotton# only for this spell or the macro execute only this command without continue with /castsequence?
    Any ideas or suggestions about this are welcome.
    Thank you.
    Someone already let you know a macro solution isn't possible, but I would look into a gamepad of some kind. Depending on your difficulties, the Nostromo (a gamepad) could be a great boom. It's really comfy with a wrist rest and the keys are inline rather than staggered.

    I use a Nostromo and a Naga for WoW. I play more than I should (like 8+ hours a day) and I never get any pain because it's really easy and comfortable to hit all my binds. Check out at least the Nostromo, for sure.

  17. #4057
    Quote Originally Posted by Thelothian View Post
    Hello guys
    a simple question. I'm trying to create a macro to merge some spells because I have some "physiological" difficulties with the keyboard (nothing serious but enough annoying to create me problems during the raids). The rotation of the moonkin is divided into two phases. My problem is during the first part. Too many buttons to press.
    Briefly... I would like to create a macro with a simple sequence, but within this sequence there's a spell with a cooldown (3 mins). So, if I use the macro when this spell is ready, everything works. But if the spell is on cooldown, the macro stops and doesn't continue.
    Question: is there a way (via scripts / variables) to ensure that the macro continues, however, even if a particular spell is not ready (cd)?
    It could be fine use the command /click ActionBotton# only for this spell or the macro execute only this command without continue with /castsequence?
    Any ideas or suggestions about this are welcome.
    Thank you.
    If you can be more specific about what you want to do I can come up with a few ideas for you. Also try to be clear about your physiological difficulties for optimal results - obviously if you're missing a pinky then modifier macros won't be ideal :P castsequence macros have their purpose but generally are very poor tools. What you're requesting actually may be possible, because you CAN check whether abilities are usable via scripts in a macro. I used to have a macro that would check if I had a mouseover and if power infusion was available, and if both things were true it would PI my mouseover and send a tell to them. Unfortunately I had to use an addon (superdupermacro) to create a macro long enough to get this to work.

    ---------- Post added 2012-11-13 at 05:50 AM ----------

    Quote Originally Posted by frallan123 View Post
    I have a problem with this macro
    #showtooltip
    /use 10 (engineering gloves)
    /cast Lightning Bolt

    The problem is that when I spam Lightning Bolt even though my gloves are ready I see them get highlighted but it skips to activat them and just casts Lightning Bolt instead. Sometimes it works if I slow down my spamming on the macro, but then again after the cooldown is ready again it wont activate unless I manually click the keybinding for my gloves. Am I doing something wrong? Any help would be great!
    as the other response said it is a prblem with the queueing system. All you have to do is add /use 10 to both ends ends

    /use 10
    /use Lightning Bolt
    /use 10

  18. #4058
    Quote Originally Posted by dennisdkramer View Post
    If you can be more specific about what you want to do I can come up with a few ideas for you. Also try to be clear about your physiological difficulties for optimal results - obviously if you're missing a pinky then modifier macros won't be ideal :P castsequence macros have their purpose but generally are very poor tools. What you're requesting actually may be possible, because you CAN check whether abilities are usable via scripts in a macro. I used to have a macro that would check if I had a mouseover and if power infusion was available, and if both things were true it would PI my mouseover and send a tell to them. Unfortunately I had to use an addon (superdupermacro) to create a macro long enough to get this to work.[COLOR="red"]
    Yes you can check if a spell is on cooldown or not and do something, but not casting a spell. Because the castSpell can only be called by blizzards interface (i.e. /cast Spell, in a macro), so you can only use the macro conditionals, which can't check if something is on cooldown or not.

  19. #4059
    Quote Originally Posted by sshika View Post
    Yes you can check if a spell is on cooldown or not and do something, but not casting a spell. Because the castSpell can only be called by blizzards interface (i.e. /cast Spell, in a macro), so you can only use the macro conditionals, which can't check if something is on cooldown or not.
    Yep good point, I wasnt thinking straight apparently

  20. #4060
    I admit I did not scroll through the 200 pages so this has probably already been answered, but I'll ask anyway.

    In fact, I'm not sure this is even possible, but I don't see why it shouldn't:

    I basically want to save some place in my bars and macro slots by having a macro that does these 3(4) things:

    1. Devouring Plague at target
    2. (+shift) Devouring Plague @ focus
    3. (+control) Flash Heal @mouseover if friendly, Devouring plague @mouseover if enemy

    Would this work? Can't log in to test it right now.

    #showtooltip
    /cast [@focus,mod:shift]Devouring Plague;[@mouseover,mod:ctrl,help]Flash Heal;[@mouseover,mod:ctrl,harm]Devouring Plague;Devouring Plague

    Could I have it change depending on the spec and still fit in the 250 char restriction? Having the opposite spells if I'm specced Heal?

    Edit: would this do the trick for the 3 specs?

    #showtooltip [spec:1/2]Binding Heal;Shadow Word: Pain
    /cast [@focus,mod:shift]Shadow Word: Pain;[@mouseover,mod:ctrl,help]Binding Heal;[@mouseover,mod:ctrl,harm]Shadow Word: Pain;[spec:3]Shadow Word: Pain;[@mouseover]Binding Heal

    And this:

    #showtooltip [spec:1/2]Smite;Shadow Word: Death
    /cast [@focus,mod:shift]Shadow Word: Death;[@mouseover,mod:ctrl,harm,spec:3]Shadow Word: Death;[@target,mod:ctrl,harm,spec:1/2]Holy Fire;[spec:3]Shadow Word: Death;Smite

    Thank you for your time.

Posting Permissions

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