* Quits: crackzrezwa (Quit: Make XDCC easier with XDCC Catcher: connect to 100s of servers and get 1000s of packs in a list. Check it out at http://www.xdcccatcher.com)
wel i made this spamfilter that glines the users with the script for 5 hrs.... what i need to change?
spamfilter {
regex "Make XDCC easier with XDCC Catcher: connect to 100s of servers and get 1000s of packs in a list. Check it out at http://www.xdcccatcher.com";
target { quit;
reason "Using XDCC Catcher";
action gline 5h;
};
Use the right tool for the right job... Why don't you just use the badwords filter system? Would probably be easier for you - and if you only gline them 5h, it wouldn't make much difference.
Anyway:
You have to close every curly brace you open.
And you have to escape special characters in the regular expression (like .).
Read a tutorial about regular expressions - there are tons on the internet.
spamfilter {
regex "Check it out at http://www\.xdcccatcher\.com";
target quit;
reason "XDCC Catchers are not allowed on this network.";
action gline;
ban-time 5h;
};
Read the docs next time. There were at least 3 mistakes in it.
ban version {
mask "XDCC Catcher Basic";
reason "No Fucking XDCC Catchers Allowed On This Network! Remove The XDCC Catcher Client And Come Back!";
action gzline;
ban-time 48h;
i added in unrealircd.conf file .. woking fine here
some suggstions?!
Platinum
Last edited by Platinum on Sun Jan 09, 2005 11:55 am, edited 1 time in total.