coyotte508/pokemon-online — pull request #155 by ArchZombie (2012-11-11 01:27:53+00:00)
Title: Added sys.battleIds(). Gives you a list of battling players.

Credit [$G] Fenix for idea.