foreach luser $blist {
if {[isop $nick $chan]} {return 0}
if {[isvoice $nick $chan]} {return 0}
if {![onchan $luser $chan]} {
continue
}
set mask "*!*@[lindex [split [getchanhost $luser [strlwr $chan]] @] 1]"
newchanban [strlwr $chan] $mask $::botnick $::linesbreas $::linebtime
I added the if {[isop.. and the if {[isvoice... will this make the eggdrop not apply the ban on the user if he's oped/voiced ? (because some ppl flood using the same vhost as the op)