Update who sniffer with multiple queries

This commit is contained in:
2024-10-27 16:51:42 +01:00
parent e193ccd8f2
commit a03d7faada
3 changed files with 14 additions and 5 deletions

View File

@@ -1,5 +1,10 @@
-- TICKER_5000
-- TICKER_1000
function()
SetWhoToUI(1)
SendWho(aura_env.whoQuery)
local query = aura_env.whoQueries[aura_env.whoQueryIdx]
SendWho(query)
aura_env.whoQueryIdx = aura_env.whoQueryIdx + 1
if aura_env.whoQueryIdx > #aura_env.whoQueries then
aura_env.whoQueryIdx = 1
end
end