Files
wow-weakauras/FreshShit/AfkTimer/event2.lua

9 lines
295 B
Lua

-- TICKER_500
function(e)
local timeToKick = aura_env.KickTime - time()
if timeToKick > 0 and timeToKick < 20 * 60 then
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
-- SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
end
return aura_env.KickTime > 0
end