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 » Wed Dec 24, 2014 2:32 am

: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
Official supporter
Posts: 1114
Joined: Sun Apr 18, 2004 5:06 pm

Re: help please :D anti commands repetitions

Post by katsklaw » Wed Dec 24, 2014 5:18 pm

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 » Thu Dec 25, 2014 12:45 am

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

Post Reply