Page 1 of 1

Spamfilter in Channels

Posted: Thu Nov 18, 2004 1:11 am
by Shimmy
Somehow the spamfilter doesn't work for me with channels.. doesn't matter what i try a user can say whatever he wants in channels and he won't get kicked or the message blocked or whatever..

can anyone help me?

Posted: Thu Nov 18, 2004 3:35 am
by Syzop
1. What's the exact spamfilter you use
2. What's the exact phrase you let the user say

(Also, note that spamfilter does not apply to opers)

Posted: Thu Nov 18, 2004 3:50 pm
by Shimmy
i know that it won't work on ircops.. i tested it with a friend..

here's the spamfilter line:
F c kill 0 3 86400 Spam/Advertising Keeper!TheKeeper@127.0.0.1 Come here baby

and he just says
Come here baby

Posted: Fri Nov 19, 2004 9:18 pm
by Shimmy
anyone... .....?

Posted: Tue Nov 23, 2004 7:27 am
by GouroB
F c kill 0 3 86400 Spam/Advertising Keeper!TheKeeper@127.0.0.1 Come here baby
its what u get when u do /spamfilter in ur server .. but can u paste the cmd u used ... to add this spam filter ... like i added those spamfilters r working nice ..
/spamfilter add pnNu block - no-Swear *fuck*
and one more thing if u wanna add 2/3 words togather in a spamfilter , u shld use regex/wild card ... like u shld have used like " *Come* *here* *baby* "

best of luck ....

Posted: Tue Nov 23, 2004 7:37 am
by aquanight
GouroB wrote:
/spamfilter add pnNu block - no-Swear *fuck*
and one more thing if u wanna add 2/3 words togather in a spamfilter , u shld use regex/wild card ... like u shld have used like " *Come* *here* *baby* "
Um... spamfilter never uses wildcards. Regex only. That regex you posted would not work. You need to use something like .* instead of *.

.....

Posted: Tue Nov 23, 2004 7:50 am
by GouroB
You need to use something like .* instead of *.
need to use .* where ? u mean i shld use .*fuck to add the word in spamfilter ? umm but it worked for me when i simply added ..
/spamfilter add pnNu block - advertiser *irc.baal* *chat.com*
i didnt use .* ... :!:

thx for the correction anyways

Posted: Tue Nov 23, 2004 1:43 pm
by Shimmy
here for example this one:
/spamfilter add c kill - - Fuck

should be correct mh..?

Posted: Tue Nov 23, 2004 4:16 pm
by GouroB
Should be :D

Posted: Tue Nov 23, 2004 11:54 pm
by Shimmy
well but he won't do anything..

Posted: Wed Nov 24, 2004 12:22 am
by Stealth
Why do people insist on abusing the spamfilter in such ways?!

Ladies and gentlemen, let me introduce to you some OLD features that you SHOULD be using!

Introducing.... *drum roll*

:arrow: THE BADWORD SYSTEM!

:arrow: SET::MODES-ON-JOIN

:arrow: SET::RESTRICT-CHANNELMODES

*tada!*

Code: Select all

badword channel { word *fuck*; action block; };
set { 
  restrict-channelmodes "G"; 
  modes-on-join "G";
};