Page 1 of 1
Posted: Mon Nov 29, 2004 6:48 am
i follow the way he said ... but still no result ... i mean ... we r having some clone flood problem those bots use these sorta nick's
[dOpEbOt]-11 , [dOpEpiG]-42 , [pr0n] , [dOpEeDubOt] etc ....
so i tryed like " /spamfilter add u kill - BOT ^[dOpEpiG]\d* "
didnt work ... what should be the correct regex ?
Posted: Mon Nov 29, 2004 4:45 pm
/spamfilter add u kill - BOT ^[dOpEpiG]\d*
'[' 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: Select all
/spamfilter add u kill - BOT ^\[dOpEpiG\]\d*
Posted: Mon Nov 29, 2004 6:45 pm
[dOpEbOt]-11 , [dOpEpiG]-42
You need that - in your regexp too!
Posted: Tue Nov 30, 2004 6:58 am
Posted: Tue Nov 30, 2004 9:32 am
codemastr or sYzoP ... thx for that nick regex ... actually there is not enough info or instruction about how to use regex ... like the use of .* , \* etc .
even in helpop it shows just ..
Use: /spamfilter [add|del|remove|+|-] [type] [action] [tkltime] [reason] [regex]
[type] specifies the target type, you can specify multiple targets:
'c' channel msg, 'p' private msg, 'n' private notice,
'N' channel notice, 'P' part msg, 'q' quit msg, 'd' dcc,
'a' away, 'u' user (nick!user@host:realname ban)
[action] specifies the action to be taken (only 1 action can be specified):
'kill', 'tempshun' (only shun current session), 'shun',
'kline', 'gline', 'zline', 'gzline', 'block' (blocks the msg),
'dccblock' (unable to send any dccs), 'viruschan' (part all channels
and join the virus help chan).
[regex] this is the actual regex where we should block on
[tkltime] the duration of the *LINEs placed by action (use '-' to use the default
set::spamfilter::ban-time, this value is ignored for block/tempshun');
[reason] the reason for the *LINE or blockmsg, CANNOT CONTAIN SPACES,
'_' will be translated to spaces. Again, if you use '-' for this
the default (set::spamfilter::ban-reason) is used.
so it would be a great help if any one of u or any one could do anything ...
Posted: Tue Nov 30, 2004 1:36 pm
i'd suggest doing a search on google etc for "regex" , there are thousands of sites out there explaining how to use regex's.
Posted: Mon Jul 11, 2005 5:19 am
Also, regex is documented - in the docs.
Posted: Wed Dec 14, 2005 10:16 pm
Posted: Sat Dec 17, 2005 4:19 pm
Posted: Sat Dec 17, 2005 10:01 pm
just spamfiltering kurrrr would be enough. How many real people have a name like kurrrr ?!
Posted: Tue Dec 20, 2005 4:00 am
Even one is too many.