Hi, I've written a bit of that script. Here's what I have so far. It records how many seconds nicks/users spend on channels (all configurable) per day. It keeps today's data and the total times in memory, saving to disk every once in a while in case the bot dies. At the end of the day, it saves the data to a file based on the date and updates the 'totals' file.
It is possible to extend the script to do what you guys want, by having it read in the days in question and perform calculations on the times in the files.
Wildcard searching for users, multichannel reports, all of that can be done as well. It's just a matter of time
Let me know if you guys want to go ahead and see/use the script in its current form. I haven't tested it much... but I think it works
. Hey you could even help write it since you guys want so much crazy stuff.
Oh, just so you know, when it records stuff for users, it puts a * in front of the handle. So the user 'stdarg' is found by doing '!ontime *stdarg'. The nick 'stdarg' is just '!ontime stdarg'.
I think it would be useful to keep track of a 'last time seen' statistic. That way, it can purge nicks it hasn't seen in a few weeks, to keep the 'totals' file from getting humongous.