Update whosniffer with more advanced queries

This commit is contained in:
2024-11-11 09:20:42 +01:00
parent d00a21266a
commit 43fe972ee3
5 changed files with 212 additions and 163 deletions

View File

@@ -1,8 +1,11 @@
-- TICKER_1000
function()
if aura_env.queryPending then return end
SetWhoToUI(1)
---@type WHOQuery
local query = aura_env.whoQueries[aura_env.whoQueryIdx]
SendWho(query)
aura_env.lastQuery = query
SendWho(query.query)
aura_env.whoQueryIdx = aura_env.whoQueryIdx + 1
if aura_env.whoQueryIdx > #aura_env.whoQueries then
aura_env.whoQueryIdx = 1