Print stinkies to guild

This commit is contained in:
2024-10-07 15:14:57 +02:00
parent 24e0a405cc
commit fd7eae33d0
2 changed files with 9 additions and 2 deletions

View File

@@ -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")
local msg = string.format("%s в Оргриммаре!", name)
for k, v in pairs(toNotify) do
local msg = string.format("%s в Оргриммаре!", name)
-- 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