Jethro commented on a Page, Clone ban script  -  Jun 15, 2010

You can do it with regsubex:

on @*:ban:#:{
  tokenize 32 $regsubex($str(.,$nick(#,0)),$&
    /./g,$iif($address($nick(#,\n),2) = $banmask,$&
    $nick(#,\n)) $chr(32)) | kick # $* You have been banned!
}

I don't get why the author used ^ next to his ban event. The ^ indicates it's a custom event, where the script it's not considered one. ^ serves no purpose in this case.

 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.