1. #1

    Misdirecting and saying who the MD is to

    I searched around the forums but i didnt find exactly what i was looking for and when I tried to edit code myself I failed horribly. So I have the macro
    Code:
    #showtooltip
    /cast [@focus,help][help][@pet,exists] Misdirection
    and it works great put what i would like to add to it would be to say who I'm misdirecting to. For example if i have my tank as my focus target it would say in raid 'Misdirecting to Tank', but if tank died it would say 'Misdirecting to Pet'. Is that possible?
    Last edited by Treeston; 2012-11-30 at 06:29 AM. Reason: Added in the "@" signs you couldn't post to avoid confusion.

  2. #2
    Untested.
    Code:
    #showtooltip
    /cast [@focus,help][help][@pet,exists]Misdirection
    /run local t=SecureCmdOptionParse("[@focus,help]Tank;[help]t;[@pet,exists]Pet")if t then if t=="t"then t=GetUnitName("target")end SendChatMessage(("Misdirecting to %s"):format(t),"RAID")end
    Last edited by Treeston; 2012-12-01 at 05:33 PM.
    UI & AddOns expert | Interface & Macros moderator - My work

  3. #3
    Works great. Thank you. I have one more question to ask though. I replaced 'Tank' with %f and that works fine, but when I tried to replace 'Pet' with %p it didn't. Is there another code for pet?

  4. #4
    Just focus your pet
    Quote Originally Posted by kasath
    is anyone in this group under 18? my parole officer says I'm not allowed to play wow with anyone under 18

  5. #5
    There's always the option of JS' Hunter Bar. It has a MD Announce.

    Does JS still have the MD Announce as a separate addon?
    Omnipotent WCL || Omnipotent Site || Stream: 5-9pm PST Tues/Wed/Thurs || Worst Btag Ever: Slenderman#1355

  6. #6
    Quote Originally Posted by Pfeff View Post
    Just focus your pet
    So when the raid group pulls in a boss I should MD my pet? That doesn't make sense. Its nice to have the macro that i can use for raid and solo, plus it tells me if i forget to put the off tank on focus. If its not going to work I'm not worried.

    Quote Originally Posted by Jeremypwnz View Post
    There's always the option of JS' Hunter Bar. It has a MD Announce.

    Does JS still have the MD Announce as a separate addon?
    I would rather not run an addon if a macro would work. The macro Treeston made works perfectly. I was just hoping there was an easy command for my pet name.
    Last edited by Toxophilist; 2012-12-01 at 07:46 AM.

  7. #7
    Quote Originally Posted by Toxophilist View Post
    Works great. Thank you. I have one more question to ask though. I replaced 'Tank' with %f and that works fine, but when I tried to replace 'Pet' with %p it didn't. Is there another code for pet?
    If you want the unit's name, then use this:
    Code:
    #showtooltip
    /cast [@focus,help][help][@pet,exists]Misdirection
    /run local s,t=SecureCmdOptionParse("[@focus,help][help][@pet,exists]") if s then t=t or "target" SendChatMessage(("Misdirecting to %s"):format(GetUnitName(t),"RAID") end
    UI & AddOns expert | Interface & Macros moderator - My work

  8. #8
    Immortal Treelife's Avatar
    Join Date
    Mar 2010
    Location
    England
    Posts
    7,222
    Quote Originally Posted by Toxophilist View Post
    I would rather not run an addon if a macro would work. The macro Treeston made works perfectly. I was just hoping there was an easy command for my pet name.
    I'd suggest using it anyway, it's basically a Hunter all-in-one addon. Gives you a Focus bar, predicts incoming Focus, shows cooldowns, buffs, debuffs on/around that bar, alerts you to things such as dispellable buffs on the target, Hunter's Mark etc.

  9. #9
    I think you could do it with WeakAuras and announcing? Just tested real quick (although with my deterrence macro instead of misdirect) typing in 'Deterrence on %f' with myself as focus and got a chat msg saying 'Deterrence on Rakky' so it should work as long as you make a misdirect aura of your liking.

    EDIT: This does NOT cause any chat spam if you happen to be spamming the macro, as the text triggers on aura active in WeakAuras and not when you're pressing the button.
    Last edited by Zayniel; 2012-12-02 at 09:55 AM.

  10. #10
    Sorry about the delay in replying. The macro works perfect Treeston. Thank you so much.

Posting Permissions

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