Page 1 of 1

IRC Bot Spam Filter

Posted: Sun Sep 17, 2006 7:00 pm
by mnmnk
How would I go about adding a spam filter for this:

Code: Select all

DEU|933319159 ([email protected]) has joined #wwwww
PRT|956982959 ([email protected]) has joined #wwwww

etc.
I've tried, ^[a-z][0-9]{1,3}|!~[a-z][0-9]{1,9}@*, Which does not seem to work. Any suggestions?

Posted: Sun Sep 17, 2006 7:11 pm
by Stealth
You just need:

Code: Select all

^[a-z]\|[0-9]{9}!

Posted: Sun Sep 17, 2006 9:45 pm
by tdw
is that gonna work, since the first 3 letters are written in 'caps'?

Posted: Sun Sep 17, 2006 10:01 pm
by Stealth
Unreal is not case sensitive on spamfilters unless told to be

Posted: Sun Sep 17, 2006 11:19 pm
by mnmnk
This does not work, I still have bots connecting, Ah, got [A-Z]|[0-9]{9}, to work

Posted: Mon Sep 18, 2006 11:00 am
by Jobe
You could try:

Code: Select all

^[a-z]{3}\|[0-9]{9}!

Posted: Mon Sep 18, 2006 7:12 pm
by Jason
mnmnk: While your spamfilte works, use Jobe1986's new one. It will have less risk of false positives.

Sigh :( First spamfilter question in months and I was too slow.

Posted: Mon Sep 18, 2006 11:58 pm
by Stealth
And I messed mine up :P

Posted: Sun Sep 24, 2006 3:40 am
by Jason
We're losing it, Stealth!

What do we do?!

Posted: Sun Sep 24, 2006 3:47 am
by Stealth
Jason wrote:We're losing it, Stealth!

What do we do?!
Party harder!