help please :D anti commands repetitions

These are old archives. They are kept for historic purposes only.
Post Reply
manuti
Posts: 5
Joined: Wed Dec 24, 2014 2:09 am

help please :D anti commands repetitions

Post by manuti »

:P some friend who helps me please:
I would like to activate an anti repetitions of commands example:
3 times for nickname that repeats the same command and to the third time that he punishes

the commands that they use very repeated are /staff or /ircops or /nickserv identify and the user that it repeats it three times then receives a punishment
thanks for the help

spamfilter {
regex "/staff | /ircops | /nickserv identify";
target { user; private; channel; private-notice; channel-notice; };
reason "(Stop flooding services)";
action kill;
};
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: help please :D anti commands repetitions

Post by katsklaw »

The SPAM filter isn't designed for that either. The IRCd already has built in anti-flooding measures.

You will waste more resources checking how many times an user use a command than the user used executing them. You wishes here are completely illogical.

Secondly, the /ircops and /staff commands do not flood services. They have nothing to do with services at all.

My advice is for you to research what sendQ and recvQ is.
manuti
Posts: 5
Joined: Wed Dec 24, 2014 2:09 am

Re: help please :D anti commands repetitions

Post by manuti »

this configuration is correct ??
anti-flood {
nick-flood 4:50;
unknown-flood-bantime 1d;
unknown-flood-amount 600;
away-flood 5:60s;
};
Post Reply