Jump to content

Notice Flood Protection


scorpvision

Recommended Posts

Hi,

 

I need a little help with a notice flood protection what I try to create but it doesn't work and I have tried it manny ways but it just doesn't work for me.

 

This is what I now have:

 

ON @*:NOTICE:*:#: {
 if ($nick !isop $chan) {
   inc -u2 $+(%,flood.,$chan,.,$nick)
   if ($($+(%,flood.,$chan,.,$nick),2) >= 4) {
     ban $chan $nick 2 | kick # $nick Don't flood please
   }
 }
}

 

Can someone help me with this please?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...