부활 창이 떴을 때 자동으로 수락 버튼을 눌러주는 겁니다. 누가 부활을 해주는지 알려줍니다.


hooksecurefunc("StaticPopup_Show", function(f, sender)
    if f == "RESURRECT_NO_SICKNESS" or f == "RESURRECT_NO_TIMER" then
        local text = "▶ 부활시전자: "
        print("|cff00ff00"..text..sender)
        RaidNotice_AddMessage(RaidBossEmoteFrame, text..sender, ChatTypeInfo["GUILD"])
        C_Timer.After(.1, function() StaticPopup1Button1:Click() end)
    end
end)