Anti Flood

By Solo on Apr 26, 2007

A simple and effective way to kick flooders out of a channel. Not overly strict, MULTI network and channel capable. And best of all its one line of code.

Its meant to gently moderate a channel, maybe to put into a bot or something.

on @*:text:*:#: $iif($($+(%,string,$wildsite,$chan,$cid),2) == 6,kick $chan $nick flooding,inc -u3 $+(%,string,$wildsite,$chan,$cid))

Comments

Sign in to comment.
Shadowless   -  May 10, 2011

if $nick !isop # ....

 Respond  
raulSTAR   -  Apr 14, 2010

Verry nice script!

 Respond  
Ghost-writer   -  Aug 26, 2009

I think (correct me if I'm wrong), that if you have two Code:
on :text::#: {
or the same on text event in your remotes, one or the other might not work.

The one higher will go first. So yes this is true.

And for the script. i suggest you extend it into more lines. 1 liners are harder to edit for everyone. good script i just hate 1 liners.

 Respond  
Zmodem   -  Sep 06, 2008

Multiple instances are okay, as long as there is no halt being used.

 Respond  
Numuruzero   -  Sep 06, 2008

I happen to know from experience that multiple of those can make one or the other not work. But hey, practice makes perfect, right? Right!?

 Respond  
BlueThen   -  May 15, 2008

I think (correct me if I\'m wrong), that if you have two

on *:text:*:#: {

or the same on text event in your remotes, one or the other might not work.

 Respond  
SnapeisntEvil   -  May 15, 2008

and why arent any of these fucking flood scripts working with ybbot :(

 Respond  
SnapeisntEvil   -  May 15, 2008

i think it might work a little better if u could stretch it out a bit into more lines so people can edit it easier to fit their specific needs. just a thought. i sometimes have trouble seeing the overall script when its like this and im just an amateur scripter anyways

 Respond  
LinuxFan   -  Dec 02, 2007

Very very nice! and so simple too, great job! tested on Mirc 6.31

 Respond  
cantseeme   -  May 19, 2007

Why is this rated as a 2?
Ingrates.

 Respond  
cantseeme   -  May 15, 2007

awesome script.

 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.