Perl IRC Statistics Generator - http://pisg.sourceforge.net/