Spam Block

By M[n]M on Sep 12, 2007

this will stops the msg window from poping up if set words are in the first words they msg you.

on ^*:OPEN:?:*: {
  if (decode isin $1-) || (xxx isin $1-) || (porn isin $1-) || (http isin $1-) || (free isin $1-) || (www. isin $1-) { halt }
  ; The line after this stops the query if you are not in a channel with the person msging you.
  ; This is to stop some spam bots.
  if ($comchan($nick,0) == 0) { halt }
}
By:M[n]M

Comments

Sign in to comment.
M[n]M   -  Sep 14, 2007

thx

 Respond  
simplicity   -  Sep 13, 2007

I would add an on *:text event for the query. Perhaps an option to add words and just use a $read to check if the word is in the txt file. Could be a little re-done but nice idea.

 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.