on @*:JOIN:#yourchan:{
.enable #whoisscan
whois $nick
}
#whoisscan off
raw 319:*:if (($2 ison #yourchan) && (#badchan isin $3-) && ($nick !isop #yourchan)) ban -ku300 #yourchan $2 1 You are banned
raw 311:*:haltdef
raw 307:*:haltdef
raw 312:*:haltdef
raw 313:*:haltdef
raw 310:*:haltdef
raw 320:*:haltdef
raw 318:*:{ .disable #whoisscan | haltdef }
#whoisscan end
Would that be an appropriate change to prevent ops from being kicked?
Also, what would be the best method for creating a 'bad channel' list as it were, simply just use a variable instead of a specific channel?
e.g. %bad.chan instead of #badchan ?