nah that won't work cause i'm broadcasting mouse clicks and its random if the first second third or fourth remote client will get a popup....

i ended up just writing my own... so simple - and would be a funny practical joke to play on a friends account... except my luck the first loot would be a boe world epic that the victim only saw for a split second >.<

lol and no idea how this would work if you have autoloot on... but anyway its working for me

--[[
LootGone Functions
]]

function LootGone_OnLoad()
this:RegisterEvent("LOOT_OPENED");
end

function LootGone_OnEvent(event)
if (event == "LOOT_OPENED") then
CloseLoot();
SendChatMessage("Loot Window Detected and Closed.", "PARTY", nil, nil);
end
end