Anti Spam

By Froggeh on Sep 05, 2005

Look below -->

//This is a anti spam script 
//It will ban anyone that spams 4 lines in 3 seconds
//you can change this by:
//inc -u"3" %spam. [ $+ [ $nick ] ] (the bit in "" is the seconds)
//if (%spam. [ $+ [ $nick ] ] == "4") (the bit in "" is the lines)

on *:TEXT:*:#:{
  inc -u3 %spam. [ $+ [ $nick ] ]
  if (%spam. [ $+ [ $nick ] ] == 4) {
    ban $chan $address($nick,1)
    kick $chan $nick Spam
  }
}

Comments

Sign in to comment.
Dany   -  May 14, 2012

its working fine and its the best

 Respond  
criminal   -  Apr 23, 2008

Spam/Flood...
what\'s the difference... xD

 Respond  
dj_boT   -  Jan 20, 2007

Isn\'t this called flood? :P

 Respond  
xDaeMoN   -  Sep 05, 2005

You could just use \"ban -k $chan $nick 1 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.