I'll probably need to wait to see you in channel, this code looks more confusing the more i look at it. You say that you're banning repeats, but it's not necessarily banning a repeat because of (> 2) and your -z countdown. I get the feeling there's more info that's not being mentioned here. For sure there's at least 1 variable here that swoops out of nowhere without being defined anywhere. This may end up being a case of what you need and what you say you need may not be the same things