Jethro commented on a Page, Auto Ban on Join  -  Mar 26, 2010

pyth0n, your script is redundant. The /ban command along with the -k switch will do both banning and kicking. There's no reason for you to add a /kick command after it. I think mountaindew may have made a little mistake some two years ago. The script should have been as such:

on @*:join:#: {
  if (!$istok(nick1 nick2 nick3 nick4,$nick,32)) {
    ban -k $chan $nick 2 msg here
  }
}

this will ban the type 2 address, which is the host, and exclude those nicks from the $istok.

 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.