Thread:Randomouscrap98/@comment-16325373-20140512162344/@comment-9531161-20140513012137

It already does that. Check this out: https://dl.dropboxusercontent.com/u/4753340/PTC%20Wikia%20Chat%20Logs/stats.txt

The logger can tell who's afk or not depending on their "away" status (it's actually stated in the HTML beyond the "Away" text), so it only counts people who are not away when determining whether or not you can battle the bot.