Page 1 of 1
Spamfilter
Posted: Mon Nov 29, 2004 6:48 am
by GouroB
Stealth said
^Guest(\d+)?!
....
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
by Syzop
/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
by codemastr
[dOpEbOt]-11 , [dOpEpiG]-42
You need that - in your regexp too!
Thx
Posted: Tue Nov 30, 2004 6:58 am
by GouroB
Thx
Posted: Tue Nov 30, 2004 9:32 am
by GouroB
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
by DeadNotBuried
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
by w00t
Also, regex is documented - in the docs.
bots
Posted: Wed Dec 14, 2005 10:16 pm
by Darklord
can u pls type me what to put in spamfilter for this under:
[22:53] * Joins: b_kurrrr_b (~
[email protected])
[22:53] * Joins: h_kurrrr_h (~
[email protected])
[22:53] * Joins: a_kurrrr_a (
[email protected])
[22:53] * Joins: q_kurrrr_q (~
[email protected])
[22:53] * Joins: z_kurrrr_z (~
[email protected])
[22:53] * Joins: ee_kurrrr_ee (
[email protected])
[22:53] * Joins: m_kurrrr_m (~
[email protected])
[22:53] * Joins: gg_kurrrr_gg (~
[email protected])
[22:53] * Joins: x_kurrrr_x (~
[email protected])
[22:53] * Joins: rr_kurrrr_rr (~
[email protected])
[22:53] * Joins: u_kurrrr_u (~
[email protected])
[22:53] * Joins: kk_kurrrr_kk (~
[email protected])
[22:53] * Joins: g_kurrrr_g (
[email protected])
[22:53] * Joins: yy_kurrrr_yy (~
[email protected])
[22:53] * Joins: p_kurrrr_p (~
[email protected])
[22:53] * Joins: v_kurrrr_v (~
[email protected])
[22:53] * Joins: ww_kurrrr_ww (
[email protected])
[22:53] * Joins: dd_kurrrr_dd (~
[email protected])
[22:53] * Joins: tt_kurrrr_tt (~
[email protected])
[22:53] * Joins: hi_kurrrr_hi (~
[email protected])
[22:53] * Joins: zz_kurrrr_zz (~
[email protected])
[22:53] * Joins: uu_kurrrr_uu (~
[email protected])
[22:53] * Joins: r_kurrrr_r (~
[email protected])
Posted: Sat Dec 17, 2005 4:19 pm
by Jason
Posted: Sat Dec 17, 2005 10:01 pm
by aquanight
eh...
just spamfiltering kurrrr would be enough. How many real people have a name like kurrrr ?!
Posted: Tue Dec 20, 2005 4:00 am
by Jason
Even one is too many.