Hi guys,
i'd like my addon to auto accept get back to my corpse when it is in range.
I did this :
this:RegisterEvent("CORPSE_IN_RANGE");
function myaddon_OnEvent(event)
if (event == "CORPSE_IN_RANGE") then
DEFAULT_CHAT_FRAME:AddMessage("**** CORPSE_IN_RANGE", 1, 0, 0);
end
|
The message appears in my log. The popup appears.
But i don't know what to do to accept the popup window.
please help
Seb.