What a boring snippet. LOL.
This snippet is design for multiple voicing user and avoiding you from get excess flood. The voicing user eg:
+vvvvvvvvvv nick1 nick2 nick3....
It may be a common snippet, but this is different. "It is suitable for a bigger channel".
on @!*:join:#:{
.hadd -m # $+(v,.,$nick)
$+(.timer,.,#,.,v) 1 5 svo #
}
alias svo {
while ($hget($1,*).item) {
var %n = 1, %c, %g, %v
while (%n <= $modespl) {
%g = $gettok($hget($1,1).item,2,46)
if (%g) {
if ((%g ison $1) && (%g isreg $1)) %v = %v %g
.hdel -sw $1 $+(v,.,%g)
inc %c
}
inc %n
}
mode $1 + $+ $str(v,%c) %v
}
}