napa182 commented on a Page, Permanent Ban  -  Oct 26, 2008

you could clean it up abit

on *:JOIN:#: {
  if ($($+(%,banned,.,$address($nick,2)),2) > 0) { 
    ban -k $chan $nick 2 you are on the Pban List and are not welcome here!! 
    msg $chan $nick is on the Pban List and is not welcome here!! 
  }
}
on *:text:!pban*:#: {
  if ($2 ison # && $nick isop # && $nick != $2) {
    inc $+(%,banned,.,$address($2,2)) 
    ban -k $chan $2 2 you are on the Pban List and are not welcome here!! 
    msg $chan $nick is now on the Pban List and is not welcome here!!           
  }
}

you dont need to use the kick line if you are useing the -k switch in the ban

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.