thank you maroon i tried it like this and added the suggested change did some tests and it only seemed to ban the first nick that started the repeat

Code

Alias Xpro_check {
  if ($nick(#,$1,a,r)) return
  var %h = $+($md5($lower($strip($2-))),.,$chan,.,$network) 
  if ($hget(Xpro_check,%h) != $null) { hadd -mu5 Xpro_check %h $1 | return }
  mode # +b $address($1,2) | if ($v1 != 1) mode # +b $address($v1,2) | hadd -mu5 Xpro_check %h 1
}



Last edited by Simo; 22/11/22 01:30 PM.