PDA

View Full Version : Need A Mod That Kicks Dead Raid Members!!


Maticus
03-09-2008, 12:36 PM
Can any one you clever mod makers design a mod that kicks raids members if they die? It's for a special one-off event.

Would really appreciate it if someone could get back to me about it,

Cheers :thumbsup:

Lothaer
03-09-2008, 07:01 PM
dont need a mod, i asked Zeksie (Author of X-Perl) and he whipped up this macro for ya...

/script CreateFrame("Frame","KillMe")KillMe:RegisterEvent("UNIT_HEALTH")KillMe:SetScript("OnEvent",function()if(UnitIsDeadOrGhost(arg1)) then UninviteUnit(UnitName(arg1)) end end)

...just click the macro and when someone dies they will be removed from the raid you will need to relog/reload to change it back normally.

Lothaer
03-09-2008, 07:08 PM
fixed a type make sure you copy it again Maticus

Maticus
03-09-2008, 07:13 PM
Wow thanks guys :D

Tunga
03-09-2008, 07:52 PM
Looks like someone got to it before me, that's roughly what I was planning anyway, no need for anything more complex :) .

Wintrow
04-09-2008, 01:38 PM
Lol, looks like we know what it was for now :tongue:

Tunga
04-09-2008, 01:50 PM
Well I guessed as much since the race events have happened before and have this rule.