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