Close
Code:
 on @!*:join:#:{
if (%drone == off) || !%drone || (%options.exempt == on) { return }
else set %chan $chan
}
raw 319:*:{
if $numtok($3-,32) > 8 && !$istok(@ +,$3-,32) {
.ban -k %chan $2 14Drone Bot Detected
}
halt
}
 


Using !%drone is the same as %drone == $null
Checking $nick isop # in an on join event is useless, since all nicks are regular users at the time of joining. It is impossible for a nick to join a channel and already have ops status, so I removed that comparison.