How to block /banner ??

These are old archives. They are kept for historic purposes only.
Post Reply
Niezsche
Posts: 4
Joined: Thu Aug 03, 2006 3:39 am

How to block /banner ??

Post by Niezsche »

<test> _____ _____ ____ _____
<test> |_ _| | ____| / ___| |_ _|
<test> | | | _| \___ \ | |
<test> | | | |___ ___) | | |
<test> |_| |_____| |____/ |_|
how to block this banner??
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Spamfilters can only match single lines. You could try something like this which will block all lines with only |, \, /, (, ), _ and space in them:

/spamfilter block cN Noone_likes_your_banners. ^[|\\/()_ ]+$
Why the hell can't my signature be empty?
"Your message contains too few characters."
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Simple message flood helps (eg, chanmode +f).
Annihilator90
Posts: 30
Joined: Sat Jun 02, 2007 1:46 pm

Post by Annihilator90 »

Sorry to tell you but this regex
/spamfilter block cN Noone_likes_your_banners. ^[|\\/()_ ]+$
doesn't work in my server. It doesn't block the banner messages. But if I use /spamfilter block cN Spam \ / ...it will block the banner message starting with "A" and "W". But for "M" and "N", and other words, I still need a good regex.
Also chan mode +f will trigger a ban and a kick only after a partial message has been displayed. I don't want any of the banner message. Is there a way? Thank You !!!
Post Reply