Print stinkies to guild
This commit is contained in:
		@@ -8,9 +8,13 @@ WeakAurasSaved.Cyka.Stinkies = {
 | 
			
		||||
	["Ловилуну"] = true,
 | 
			
		||||
	["Korovadura"] = true,
 | 
			
		||||
	["Pizdosorkam"] = true,
 | 
			
		||||
	["Dewdew"] = true,
 | 
			
		||||
	["Армагид"] = true,
 | 
			
		||||
	["Шпека"] = true,
 | 
			
		||||
	["Yunami"] = false, -- He is a loser but he's also horde... So I can't kill him even if I wanted to
 | 
			
		||||
	["Joule"] = true,
 | 
			
		||||
	["Rattenfenger"] = true,
 | 
			
		||||
	["Blessly"] = true,
 | 
			
		||||
	["Ramáladni"] = true,
 | 
			
		||||
	["Асталабиста"] = true,
 | 
			
		||||
	["Srakonyh"] = false, -- Agreed to leave him alone until he kills someone again
 | 
			
		||||
@@ -43,6 +47,7 @@ aura_env.RegisterKill = function(source, destination, spellName, overkill)
 | 
			
		||||
		-- SendChatMessage(msg, "WHISPER", nil, v)
 | 
			
		||||
		table.insert(aura_env.whisperQueue, { to = v, msg = msg })
 | 
			
		||||
	end
 | 
			
		||||
	SendChatMessage(msg, "GUILD", "Orcish")
 | 
			
		||||
	recentlyKilled[source] = GetTime()
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
@@ -54,11 +59,12 @@ aura_env.StinkyDetected = function(name)
 | 
			
		||||
	if not aura_env.localStinkies[name] or aura_env.localStinkies[name] <
 | 
			
		||||
		GetTime() - 60 then
 | 
			
		||||
		PlaySoundFile("Interface\\Sounds\\Domination.ogg", "Master")
 | 
			
		||||
		for k, v in pairs(toNotify) do
 | 
			
		||||
		local msg = string.format("%s в Оргриммаре!", name)
 | 
			
		||||
		for k, v in pairs(toNotify) do
 | 
			
		||||
			-- SendChatMessage(msg, "WHISPER", nil, v)
 | 
			
		||||
			table.insert(aura_env.whisperQueue, { to = v, msg = msg })
 | 
			
		||||
		end
 | 
			
		||||
		SendChatMessage(msg, "GUILD", "Orcish")
 | 
			
		||||
	end
 | 
			
		||||
	aura_env.localStinkies[name] = GetTime()
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
@@ -10,4 +10,5 @@
 | 
			
		||||
/tar Ratt
 | 
			
		||||
/tar Ramá
 | 
			
		||||
/tar Аста
 | 
			
		||||
/tar Yuna
 | 
			
		||||
/tar Bles
 | 
			
		||||
/tar Шпек
 | 
			
		||||
		Reference in New Issue
	
	Block a user