Page 1 of 1

+G mode alternative

Posted: Mon May 26, 2008 6:24 pm
by midgecpfc
hi

is it possible to change the way that +G works?

i.e if someone says the banned word that instead of getting <censored> it gets blocked from entering the channel and a msg is sent to the user?

im using win32 and would appreciate any help.

thanks

Re: +G mode alternative

Posted: Tue May 27, 2008 12:02 am
by Stealth
Instead of using action replace, use action block

Re: +G mode alternative

Posted: Tue May 27, 2008 12:19 am
by midgecpfc
so would that be like this??

/*
spamfilter {
regex "hello";
target { private; channel; };
reason "You have used a banned word";
action block;

Re: +G mode alternative

Posted: Tue May 27, 2008 12:32 am
by midgecpfc
sorted it.

thanks stealth :D