You could try the following. In proc ioB:readlog, add this :
Code:
if {[string equal $msgtype "STATS"]} {
if {[string equal [lindex $line end] "usertop"]} {
ioB:sndall $section "--------------------------------=UserTop=-------------------------------"
} elseif {[string equal [lindex $line end] "grouptop"]} {
ioB:sndall $section "--------------------------------=GroupTop=-------------------------------"
}
continue
}
right after
Code:
if {![info exists disable($msgtype)] || $disable($msgtype)==1} {continue}
You have to edit your zipscript.msg so
Code:
usersstats=usertop
groupsstats=grouptop