on *:TEXT:!admin:#pure.community:{
if ($nick isop $chan) {
msg $chan 4SHUT UP!! THERE IS AN ADMINISTRATOR TALKING
var %x 1
mode # +m
msg # Every voice will be muted and the channel will be unmuted in 45 seconds
while ($nick($chan,%x,v)) {
set %voiced %voiced $v1
mode # - $+ $str(v,12) %voiced
inc %x
}
if ($v1 > 12) {
var %x 1
while ($nick($chan,%x,v)) {
set %voiced %voiced $v1
mode # - $+ $str(v,12) %voiced
inc %x
}
}
.//timer 1 5 //.signal end
}
}
on *:SIGNAL:end:{
//mode #pure.community -m
//var %x 1 | while ($gettok(%voiced,%x,32)) { mode #pure.community +v $gettok(%voiced,%x,32) | inc %x }
unset %voiced
}