WeakAuras

196 - Add automatic Channel to Chat MSG Output

I want to announce certain debuffs / buffs I get infight. I want to announce them to the party-channel if I'm in a party OR to the raid-channel if I'm in a raid.
I use the action.onShow and onHide for this kind of thing right now, announcing to the party-channel per dropbox and to the raid-channel per custom lua code, could you add some kind of auto-detection for it please?
Thanks!

User When Change
CommanderSirow Jul 13, 2011 at 20:41 UTC Changed status from New to Fixed
Ravengus Jul 12, 2011 at 16:11 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Ravengus Ravengus Jul 12, 2011 at 16:37 UTC - 0 likes

    I just did a little bit of digging through wowpedia and came up with this custom code:

    local msg="Guardian ON (12s)!";
    if UnitInRaid("player") then
        SendChatMessage(msg ,"RAID" ,"Common")
    else if UnitInParty("player") then
            SendChatMessage(msg ,"PARTY" ,"Common")        
    end end
    
  • 1 comment

Facts

Last updated
Jul 13, 2011
Reported
Jul 12, 2011
Status
Fixed - Developer made requested changes. QA should verify.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees