View Single Post
08-20-08, 12:08 PM   #1
sebwow
A Defias Bandit
Join Date: Aug 2008
Posts: 2
[Help] Accept Corpse popup

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.
  Reply With Quote