if( event == "UNIT_COMBAT") then if (arg1=="target") and (arg3=="CRITICAL") then --do something end end