I'm using the Clique Addon. What I want to occur is when I mouseover a dead ally in a party/raid/instance, and press a hotkey (set in clique) it will put "Brezzing [target]" in a group appropriate chat, begin to Raise Ally, then whisper to the raised ally to "Rise" after a successful cast.
I am a complete WOW macro noob and have pieced this together from multiple sources, however I am not sure it will work as intended or if there is a more efficient way to complete the task. Thank you for your help beforehand.
Code:
/run local c=IsInGroup(2) and "INSTANCE_CHAT" or IsInRaid() and "RAID" or IsInGroup(1) and "PARTY" if c then SendChatMessage("Brezzing %t",c) end
/cast [@mousover]Raise Ally
/run SendChatMessage ("Rise","WHISPER",nil,GetUnitName("target",1):gsub(" ","",2))