1. #1

    Help me modify this mouseover macro please!

    I want to use this macro to Misdirect my mouseover target, and announce it to the raid. Apparently there's a character limit on macros of 225, and this exceeds it. I don't need to announce it in say or battleground, and removing those would make the macro few enough characters, but I'm not sure how I can remove those things without breaking it (lawl). I only need it to announce to raid or party.

    Can anyone help me get this how I want it?

    #showtooltip Misdirection
    /cast [@mouseover]Misdirection
    /stopmacro [@mouseover, noexists]
    /run SendChatMessage("Misdirected "..UnitName("mouseover")..".", GetRealNumRaidMembers() > 0 and "RAID" or GetNumRaidMembers() > 0 and "BATTLEGROUND" or GetNumPartyMembers() > 0 and "PARTY" or "SAY")
    EDIT: I'm pretty sure I did it myself but I can't find a way to delete my post so... yeah
    Last edited by Reyina; 2011-08-18 at 11:34 PM.

  2. #2
    Untested:
    Code:
    #showtooltip Misdirection
    /cast [@mouseover]Misdirection
    /stopmacro [@mouseover,noexists]
    /run SendChatMessage("Misdirected "..UnitName("mouseover")..".", GetNumRaidMembers() > 0 and "RAID" or GetNumPartyMembers() > 0 and "PARTY")

    Gershuun @ Borean Tundra US - Interface & Macros Moderator

Posting Permissions

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