is it possible to get this to still delete the user if it got +g on the chan the command is done on?
now it will only do -g since the user got +g on the chan
set flags "a OR d OR e OR f OR g OR k OR m OR n OR o OR q or v"
foreach channel [channels] {
if {[matchattr $who |$flags $channel]} {
set flags "-g"
chattr $who |$flags $chan
putserv "NOTICE $nick :\002$who\002 has been deleted from autovoice on $chan."
putserv "MODE $chan -v $who"
save
return 0
}
}
deluser $who
putserv "NOTICE $nick :\002$who\002 has been deleted from autovoice on $chan."
putserv "MODE $chan -v $who"
save
return 1
}