Jethro commented on a Page, Website kick  -  Jun 12, 2009

zak123 didn't make the script. That script was by me and I posted it in a comment reply awhile back. He must have seen it and then he grabbed the code and posted it as his "own snippet." He changed it around.

However, that code is a little buggy. Here is my updated version if interested:

on @*:TEXT:*:#: { 
  if ($nick !isop #) { var %x = /(http:\/\/\w+|www\.\w+)/i, %y = /(\x23{2}\w+)/i, %z = /(\x23\w+)/i
    if ($regex($1-,%x)) { kick # $nick You've been kicked due to URL spam. }
    if (!$regex($1-,%y)) { kick # $iif($regex($1-,%z),$nick You've been kicked for channel spam.) }
  }
}
 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.