i found this tcl
and was wondering if voice modes can be compressed to the max allowed in ircd with is in this case 15 unlike the default 4 with pushmode
i wanne use this on a network with up to 400+ users per channel
(+simo) : !mv
&Eggy Sets Mode on #Cappuccino to: +vvvv Alhoceima safouane Nador StarNet
&Eggy Sets Mode on #Cappuccino to: +vvvv simoo mourad Target Ouafa
-Eggy- : Voiced all users on #Cappuccino. (RifSytes)
&Eggy Sets Mode on #Cappuccino to: +vvv SonnyBonds imad Puto
what i look for is :
&Eggy Sets Mode on #Cappuccino to: +vvvvvvvvvvv SonnyBonds imad Puto simoo mourad Target Alhoceima safouane Nador StarNet Ouafa
Code: Select all
bind pub m|m !mv voice_all
proc voice_all {nick host handle chan args} {
if {![botisop $chan]} {
puthelp "NOTICE $nick :I'm not oped on $chan."
return 1
}
foreach user [chanlist $chan] {
if {![isvoice $user $chan]} {
pushmode $chan +v $user
}
}
puthelp "NOTICE $nick :Voiced all users on $chan."
}
putlog "Loaded massvoice.tcl"