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;
};
help please :D anti commands repetitions
Re: help please :D anti commands repetitions
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.
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.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
Re: help please :D anti commands repetitions
this configuration is correct ??
anti-flood {
nick-flood 4:50;
unknown-flood-bantime 1d;
unknown-flood-amount 600;
away-flood 5:60s;
};
anti-flood {
nick-flood 4:50;
unknown-flood-bantime 1d;
unknown-flood-amount 600;
away-flood 5:60s;
};