This mod is very simple and does what it is suppose to do, but I get an error every rez because it must try to send a tell/whisper thanking the person before I am actually rezzed. So, every time I see an error message saying (approximately) "Unable to chat while dead".
Is there an easy way to fix this error? Or an easy way to simply disable that function?
AutoRez = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceEvent-2.0")
if UnitAffectingCombat(arg1)==nil then
--SendChatMessage("thanks"..arg1, "EMOTE", nil, nil);
self:Print("Automatically rezzed by".." "..arg1)