9 lines
290 B
Lua
9 lines
290 B
Lua
-- TICKER_500
|
|
function(e)
|
|
local timeToKick = aura_env.KickTime - GetTime()
|
|
if timeToKick > 0 and timeToKick < 60 then
|
|
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
|
|
SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
|
|
end
|
|
return aura_env.KickTime > 0
|
|
end |