Jethro commented on a Page, URL Spam Protection  -  Jul 29, 2009

Cheiron, you can advantage of mirc's highlight feature to match text or urls typed in channel.
1) go to address book (alt+B)
2) click on the Highlight tab
3) click on the Add button
4) Once the Add Highlight dialog pops up, fill in the word you want to match in the box. (if the matching words you fill in are of wildcard, put it as: TextorLinkHere (with * on both sides)
Let's say you fill in a word go. The highlight will match a sentence containing go, but not going. With wildcard, it will match.
Then you add another one via the add button, resuming the same process.
5) To Match on, drop it down to Message. (It should already be message)
6) don't choose any color.
7) Ok to finish.

  • Now place this code in your bot's remote:
    Code:
on @*:TEXT:*:#: {
  if ($highlight($1-)) {
    kick $chan $nick No spamming!
  }
}
 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.