The "documentation" is pretty terrible for all the zillions of Lua functions we can in theory call (apparently, it's "look at the list of functions and guess the semantics"), so I was wondering if anyone could point me to the right functions for this...
Basically the high-level idea is to periodically save the current list of online players (@handles) in my guild, and save them to saved vars file. Then I'll write an out of band program to upload that and gather some statistics we're interested in.
The data I would need to take a snapshot of periodically would be:
- Current time
- All logged-in @handles, or just every @handle and their current online/offline status
- Ideally, also their rank name in the guild or rank index
I can probably figure out a timestamp, but what about the latter two items? Are these data even available to a Lua addon? Thanks!