Page 1 of 1

spamfilter

Posted: Thu Dec 16, 2004 10:07 pm
by GouroB
ok the thing is ... i was told
'[' and ']' are characters that have a special mening in regex, so if you want a literal '[' and ']' you need to escape them ('\[' and '\]'), so:
Code:
/spamfilter add u kill - BOT ^\[dOpEpiG\]\d*
but what can do for fixed nicks like " owner , pc10 , rhoda , mp3 "

i tried
/spamfilter add u kill - BOT owner
but its also blocking all sorta names which has " owner " this word .... like its not letting in any nick like " amiowner , ownerna " etc .... so ... how shld add a specific word like " owner " or " pc10 " in spamfilter as bad nick ?

any one ?

Posted: Thu Dec 16, 2004 10:52 pm
by Syzop
These are really the basics, see ^ (and $), but why not take some time to learn about regex in general? It's worth it :).