Clear the entire /spamfilter?

These are old archives. They are kept for historic purposes only.
Post Reply
usrbingeek
Posts: 2
Joined: Fri Dec 03, 2004 6:52 pm
Location: irc.wyldryde.org
Contact:

Clear the entire /spamfilter?

Post by usrbingeek »

Anyone have a script or know of a way of clearing out all spamfilter entries entered with the /spamfilter command?
#!/usr/bin/geek a.k.a. Steve
WyldRyde - irc.wyldryde.org
crazytoon
Posts: 20
Joined: Thu Jul 15, 2004 11:27 am
Location: Germany
Contact:

Post by crazytoon »

hmmm ...try this with Mirc :

raw *:* { if (($numeric == 229) && ($2 == F)) { spamfilter del $3 $4 - - $10 } }

put in your remote save , then type on irc /spamfilter

(I've not test it but should work :p)
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Cleaner code, and this one actually works:

Code: Select all

raw 229:*:{ if ($2 == F) { spamfilter del $3 $4 - - $10 } }
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Stealth wrote:Cleaner code, and this one actually works:

Code: Select all

raw 229:*:{ if ($2 == F) { spamfilter del $3 $4 - - $10 } }
Even better:

Code: Select all

raw 229:& F *:spamfilter del $3 $4 - - $10
crazytoon
Posts: 20
Joined: Thu Jul 15, 2004 11:27 am
Location: Germany
Contact:

Post by crazytoon »

hrrr :P
usrbingeek
Posts: 2
Joined: Fri Dec 03, 2004 6:52 pm
Location: irc.wyldryde.org
Contact:

Post by usrbingeek »

Thanks!
#!/usr/bin/geek a.k.a. Steve
WyldRyde - irc.wyldryde.org
Post Reply