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.) }
}
}