Jump to content

Limit protection


maria

Recommended Posts

any Limit protection or that kind of thing to stop ppl flooding ? onjoin

 

or something that does not let like 2 nicknames the same in

eg

 

[ha]2362

[ha]2623

 

So would ban [ha] so the person cant flood with that name anymore ?

 

 

Btw this is for IRCx not ircd

Link to comment
Share on other sites

Well, you should think about in what case you will kick someone. Example: you don't want someone to join with a nickname that has the same first 4 characters as the people who joined the last 10 seconds.

 

That would something like this:

 

on !*:join:# {
 inc -u10 %lnick. [ $+ [ $left($nick,4) ] ]
 if (%lnick. [ $+ [ $left($nick,4) ] ] > 1) {
   access # add deny $left($nick,4) $+ * 3 : ppflood
   kick # $nick Possible passport flood - 3 minute ban -
 }
}

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...