chanstats.tcl is a channel statistics reporting script with public commands such as !top10 !top20 !rank !stats !tstats. It uses a normal .txt file to maintain a count of events against each user/channel. Analysis required for the public command output is done from memory so that the script has been proven reasonably fast even in busy channels.