how to add...
how to add...
there are some users joining my network to spam stuff like this:
<lmao> come to irc.my n e t w o r k .net
<lmao> come to irc.my- network.net
<lmao> come to irc.my -network.net
<lmao> come to irc.m y- n e t w o r k.net
<lmao> come to irc.my - netw o r k.net
how to add to spamfiler?
spamfilter {
regex ""; <--- need help here.
target { private; channel; part; quit; topic; private-notice; channel-notice; };
reason "Spamming is not allowed";
action gline;
ban-time 12h;
};
<lmao> come to irc.my n e t w o r k .net
<lmao> come to irc.my- network.net
<lmao> come to irc.my -network.net
<lmao> come to irc.m y- n e t w o r k.net
<lmao> come to irc.my - netw o r k.net
how to add to spamfiler?
spamfilter {
regex ""; <--- need help here.
target { private; channel; part; quit; topic; private-notice; channel-notice; };
reason "Spamming is not allowed";
action gline;
ban-time 12h;
};
-
- Posts: 267
- Joined: Tue Jan 18, 2005 3:24 pm
- Location: Scotland - United Kingdom
regex - .*irc\..*m.*y.*n.*e.*t.*w.*o.*r.*k.*\..*net<lmao> come to irc.my n e t w o r k .net
<lmao> come to irc.my- network.net
<lmao> come to irc.my -network.net
<lmao> come to irc.m y- n e t w o r k.net
<lmao> come to irc.my - netw o r k.net
someone can prolly give u a better one thou this will cover all those above
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict
spamfilter {
regex "*irc\..*x.*-.*r.*e.*a.*c.*t.*i.*o.*n.*\..*net";
target { private; channel; part; quit; topic; private-notice; channel-notice; };
reason "Spamming is not allowed";
action kill;
};
[00:30] * Now talking in #chat
[00:30] * Modes on channel: +ntG
[00:49] * Joins: docmastic [[email protected]]
[00:49] <docmastic> irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net
[00:49] <docmastic> irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net
don't work :/
regex "*irc\..*x.*-.*r.*e.*a.*c.*t.*i.*o.*n.*\..*net";
target { private; channel; part; quit; topic; private-notice; channel-notice; };
reason "Spamming is not allowed";
action kill;
};
[00:30] * Now talking in #chat
[00:30] * Modes on channel: +ntG
[00:49] * Joins: docmastic [[email protected]]
[00:49] <docmastic> irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net
[00:49] <docmastic> irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net
don't work :/
Don't ask me how to do regex, I suck without a guide to help me or something, but those asterisk's won't work.
I'll try come up with something, unless someone beats me to it.
I'll try come up with something, unless someone beats me to it.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
That regex should work just fine (it's a good regex except for the * at the beginning which is not needed).
And actually it also works fine here:
[05:49:15] <@Ein> irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net
[05:49:15] Closing Link: Ein[syzop.testnet] (Spamming is not allowed)
So, hmm :p.
And actually it also works fine here:
[05:49:15] <@Ein> irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net
[05:49:15] Closing Link: Ein[syzop.testnet] (Spamming is not allowed)
So, hmm :p.
-
- Posts: 267
- Joined: Tue Jan 18, 2005 3:24 pm
- Location: Scotland - United Kingdom
Regex should be (in my eyes) thiscommandr wrote: spamfilter {
regex "*irc\..*x.*-.*r.*e.*a.*c.*t.*i.*o.*n.*\..*net";
target { private; channel; part; quit; topic; private-notice; channel-notice; };
reason "Spamming is not allowed";
action kill;
};
[00:30] * Now talking in #chat
[00:30] * Modes on channel: +ntG
[00:49] * Joins: docmastic [[email protected]]
[00:49] <docmastic> irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net
[00:49] <docmastic> irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net irc. x - r e a c t i o n .net
don't work :/
.*irc\..*x.*r.*e.*a.*c.*t.*i.*o.*n.*\..*net.*
(i blame not having a " . * " on the end) but this is the ircd config, are u sure they are not spamming on the server without this config ?
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict
-
- Posts: 267
- Joined: Tue Jan 18, 2005 3:24 pm
- Location: Scotland - United Kingdom
-
- Posts: 267
- Joined: Tue Jan 18, 2005 3:24 pm
- Location: Scotland - United Kingdom
commandr: If you need to replace it, use the badwords system. The Spamfilter is for filtering spam, not for replacing bad words...
White_Magic: That's a very bad regex, don't use that... It would affect LOTS of innocent users... (it would ban "i spend 14hrs on irc... for 5days a week... im not an addict...", just to give an example)
White_Magic: That's a very bad regex, don't use that... It would affect LOTS of innocent users... (it would ban "i spend 14hrs on irc... for 5days a week... im not an addict...", just to give an example)
-
- Posts: 267
- Joined: Tue Jan 18, 2005 3:24 pm
- Location: Scotland - United Kingdom
im well aware wot the regex can do, he asked a question i gave him a solautionDukat wrote:commandr: If you need to replace it, use the badwords system. The Spamfilter is for filtering spam, not for replacing bad words...
White_Magic: That's a very bad regex, don't use that... It would affect LOTS of innocent users... (it would ban "i spend 14hrs on irc... for 5days a week... im not an addict...", just to give an example)
everyone has 2 cents, and that was minethis regex will is maybe not the best one to use
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict