You may consider using a timed delay for the ouput, rather than have them all come out at one time. Some networks or ops kick/ban for line flood if there are 5 or 6 lines sent immediately. We can't be too careful these days:
on *:text:$($iif(!textinfo == $strip($1),$1)):#:{
.ignore -cu3 $nick 2
var %c 1, %m = $+(Info of #channel since $replace($date,/,-),|,$&
$+ Lines: $readini(chaninfo.ini,#,lines),.,|,$&
$+ Words: $readini(chaninfo.ini,#,words),.,|,$&
$+ Tokens: $readini(chaninfo.ini,#,tokens),.,|,$&
$+ Record amount of people on # $+ : $readini(chaninfo.ini,#,people),.)
while $gettok(%m,%c,124) {
.timer 1 $calc(%c *2) .msg # $v1
inc %c
}
}
Use the identifier $date so it reflects today's date instead of get it hard-coded manually:
$replace($date,/,-)
The ignore command is to ignore the possibility of a trigger flood. Every user can merely trigger the code every 3 seconds.