confused

These are old archives. They are kept for historic purposes only.
Post Reply
shahrul
Posts: 10
Joined: Sun Feb 20, 2005 5:38 am
Location: ShahAlam,Malaysia
Contact:

confused

Post by shahrul »

Hi, can i ask, how can i add spamfilter if someone advertise irc network. like -> server irc.anydomainhost.com/net/org/my/ <- and i try type
-> /server irc.anydomainhost.com/net/org/my<- then hit CTRL on mirc. mean u didn't disconnect. any one got ideas to add that on spamfilter?
thx
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

I assume you're trying to spamfilter something like the following:

irc.blah.com
irc.blah.net
irc.blah.org

Try something like:

irc\.blah\..*

(basic, but shouldn't have false matches. dunno how efficient it is.)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Code: Select all

irc\.blah\.(com|net|org|my)
You can add all the TLD's you want in the ( and ) as long as they are all separated with a |
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

aha, was wondering how you did that ;) still, mine won't need to be changed...
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
shahrul
Posts: 10
Joined: Sun Feb 20, 2005 5:38 am
Location: ShahAlam,Malaysia
Contact:

Post by shahrul »

hmm..if spammer type like -> server irc.anydomainhost.com/net/org <- will effect too with that regex ?
TigerKatziTatzi
Posts: 36
Joined: Fri Apr 08, 2005 12:10 pm

Post by TigerKatziTatzi »

shahrul wrote:hmm..if spammer type like -> server irc.anydomainhost.com/net/org <- will effect too with that regex ?
it wouldn't, u may use like as posted before:

irc\.blah\.(com|net|org|my| ......... all possible domains.)
or just use *irc\.blah*

blah = the posted network name.

u may starting with learning regex. its pretty important to know regex on using spamfilter.
therefore u may check this page: http://www.regular-expressions.info/
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

You missed a "." ;)

irc\.blah\..*

hm. I wonder if:
irc\.blah.* is any more efficient.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Post Reply