Uhm, I still have some problems with this script.

Shouldnt this line:
if ($nick(#,0) >= $hget(PeakStats,%chan.net) || !$hget(PeakStats,%chan.net)) {

Be:
if ($nick(#,0) >= $gettok($hget(PeakStats,%chan.net),1,32) || !$hget(PeakStats,%chan.net)) {

confused