IRC Bot Spam Filter

These are old archives. They are kept for historic purposes only.
Post Reply
mnmnk
Posts: 3
Joined: Sun Jun 19, 2005 1:22 am

IRC Bot Spam Filter

Post 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?
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

You just need:

Code: Select all

^[a-z]\|[0-9]{9}!
tdw
Posts: 105
Joined: Sat Aug 06, 2005 12:40 pm

Post by tdw »

is that gonna work, since the first 3 letters are written in 'caps'?
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Unreal is not case sensitive on spamfilters unless told to be
mnmnk
Posts: 3
Joined: Sun Jun 19, 2005 1:22 am

Post by mnmnk »

This does not work, I still have bots connecting, Ah, got [A-Z]|[0-9]{9}, to work
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe »

You could try:

Code: Select all

^[a-z]{3}\|[0-9]{9}!
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

And I messed mine up :P
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

We're losing it, Stealth!

What do we do?!
Why the hell can't my signature be empty?
"Your message contains too few characters."
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Jason wrote:We're losing it, Stealth!

What do we do?!
Party harder!
Post Reply