Someone i know has an insanely amount of mods in his chat. He said he wants to unmod all but he doesnt want to take his time to do it manually, so i wondered if its possible to do it through a script?
If you answer, please answer with a script because i am a noob at this. Thank you
alias unmodall {
if ($chan) {
var %x = $nick($chan,0)
while (%x) {
if (%x isop $chan) {
set %unmodall $addtok(%unmodall,%x,32)
}
dec %x
}
mode $chan $+(-,$str(o,$numtok(%unmodall,32))) %unmodall
echo -at Deoped All Mods In $chan
unset %unmodall
}
}