hi.
just load this remote in your bot and there you go. a cool stat script. This one sends info via /notice
there is a FLOODPRO(ANTI-FLOOD) and every line are sent via .timer so its not floodding itself.
[04:12] <@xplorer> .stats
[04:12] xplorer's Stats Sent Via notices.
[04:12] -Moderating- You Have Said: 67 Line(s) ~ 92 Word(s) ~ 482 Letter(s)
[04:12] -Moderating- You Have Been Banned: 0 ~ Time(s) You Have Banned: 1 Time(s)
[04:12] -Moderating- You Have Joined: 1 Time(s) ~ You Have Part: 1 Time(s) ~ You Quit: 0 Time(s)
[04:12] -Moderating- You Have Changed the Topic: 1 Time(s) ~ You Took: 3 Puff
[04:12] -Moderating- You Have Been kicked: 1 Time(s) ~ You Have kicked: 1 Times
Enjoy and Share!!!
New versions soon...
################################################
# - XploreR - #IRC-Addicts - xplorer@Live.ca - #
################################################
on *:start: { hmake counts 300 }
on *:kick:#: {
hinc counts $+($knick,kicked)$+ 1
hinc counts $+($nick,kicks)$+ 1
}
on *:quit:#: {
hinc counts $+($nick,quit)$+ 1
}
on *:join:#: {
hinc counts $+($nick,join)$+ 1
}
on *:part:#: {
hinc counts $+($nick,part)$+ 1
}
on *:topic:#: {
hinc counts $+($nick,topic)$+ 1
}
on *:action:*Puff*:#: {
hinc counts $+($nick,puff)$+ 1
describe $chan Hands you a puff <08080808080808080808084D15~~~~
}
on *:action:*:#: {
hinc counts $+($nick,action)$+ 1
}
on *:ban:#: {
hinc counts $+($bnick,banned)$+ 1
hinc counts $+($nick,bans)$+ 1
}
on *:text:*:#: {
inc -u5 %floodpro 1
if (%floodpro <= 2) {
hinc counts $+($nick,length)$+ $len($1-)
hinc counts $+($nick,word)$+ $numtok($1-,32)
hinc counts $+($nick,lines)$+ 1
if ($1 == .stats) {
.timer 1 1 .msg $chan $nick $+ 's Stats Sent Via notices.
.timer 1 2 .notice $nick You Have Said: 4 $hget(counts,$+($nick,lines)$+) Line(s) 9~ 4 $hget(counts,$+($nick,word)$+) Word(s) 9~ 4 $hget(counts,$+($nick,length)$+) Letter(s)
.timer 1 4 .notice $nick You Have Been Banned: 4 $iif($hget(counts,$+($nick,banned)$+) == $null,0,$hget(counts,$+($nick,banned)$+)) 9~ Time(s) You Have Banned: 4 $iif($hget(counts,$+($nick,bans)$+) == $null,0,$hget(counts,$+($nick,bans)$+)) Time(s)
.timer 1 5 .notice $nick You Have Joined: 4 $iif($hget(counts,$+($nick,join)$+) == $null,0,$hget(counts,$+($nick,join)$+)) Time(s) 9~ You Have Part: 4 $iif($hget(counts,$+($nick,part)$+) == $null,0,$hget(counts,$+($nick,Part)$+)) Time(s) 9~ You Quit: 4 $iif($hget(counts,$+($nick,quit)$+) == $null,0,$hget(counts,$+($nick,quit)$+)) Time(s)
.timer 1 6 .notice $nick You Have Changed the Topic: 4 $iif($hget(counts,$+($nick,topic)$+) == $null,0,$hget(counts,$+($nick,topic)$+)) Time(s) 9~ You Took: 4 $iif($hget(counts,$+($nick,puff)$+) == $null,0,$hget(counts,$+($nick,puff)$+)) Puff
.timer 1 8 .notice $nick You Have Been kicked: 4 $iif($hget(counts,$+($nick,kicked)$+) == $null,0,$hget(counts,$+($nick,kicked)$+)) Time(s) 9~ You Have kicked: 4 $iif($hget(counts,$+($nick,kicks)$+) == $null,0,$hget(counts,$+($nick,kicks)$+)) Times
}
}
}