IrcdMaster
04-10-2006, 20:46
***** Spamfilter *****
-
This command adds/removes global spam filters.
Spamfilters can be used to get rid of spam, advertising, bots, etc.
-
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, 't' topic, '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.
-
Type ;
c : Kanala gönderilen msjlar.
p : Özel msjlar.
n : Kişiye gönderilen notice'ler.
N : Kanala gönderilen notice'ler.
P : Part msjı.
q : Quit msjı.
d : ddc.
a : Away msjı.
t : Topic'i.
u : Kullanıcıyı
ifade eder.
Action ;
Kill
Tempshun
Shun
Kline
Gline
Zline
Gzline
Block
Dccblock
Seçenekleri mevcuttur, dikkat etmeniz gereken husus; bunlardan sadece bir tanesini tercih edebilmenizdir. Yani hem kill hemde gzline yazamazsınız.
tkltime ;
Bu zamani ifade eder; 2d, 3d(2day yani iki gün d:day ) gibi kafaniza göre düzenlemesini yaparsiniz.
regex ;
Yazi kaliplarini ifade etmek icin kullanilan ozel bir bicim ozel bir bicim olmakla beraber tam karsiligi duzenli ifadelerdir.
. : bosluklar icin
+ kelime + : Direk bu kelimeyi yasaklar.
| : Veya anlaminda kullanilir diyebiliriz. Örnek olarak;
/spamfilter add a gzline 2d Spam/Away http://www.+[net|com|org]
Yani burada diyor ki; away olan kullanıcının away msjında www. 'den sonra com , net , org gibi bir uzantisi varsa bu kisiye iki günlük gzline at. www.abc.com , www.xxx.net , http://www.xxx.org gibi adresleri uzaklastirir.
Spamfilter Kullanımı :
/spamfilter [add|del|remove|+|-] [type] [action] [tkltime] [reason] [regex]
-
This command adds/removes global spam filters.
Spamfilters can be used to get rid of spam, advertising, bots, etc.
-
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, 't' topic, '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.
-
Type ;
c : Kanala gönderilen msjlar.
p : Özel msjlar.
n : Kişiye gönderilen notice'ler.
N : Kanala gönderilen notice'ler.
P : Part msjı.
q : Quit msjı.
d : ddc.
a : Away msjı.
t : Topic'i.
u : Kullanıcıyı
ifade eder.
Action ;
Kill
Tempshun
Shun
Kline
Gline
Zline
Gzline
Block
Dccblock
Seçenekleri mevcuttur, dikkat etmeniz gereken husus; bunlardan sadece bir tanesini tercih edebilmenizdir. Yani hem kill hemde gzline yazamazsınız.
tkltime ;
Bu zamani ifade eder; 2d, 3d(2day yani iki gün d:day ) gibi kafaniza göre düzenlemesini yaparsiniz.
regex ;
Yazi kaliplarini ifade etmek icin kullanilan ozel bir bicim ozel bir bicim olmakla beraber tam karsiligi duzenli ifadelerdir.
. : bosluklar icin
+ kelime + : Direk bu kelimeyi yasaklar.
| : Veya anlaminda kullanilir diyebiliriz. Örnek olarak;
/spamfilter add a gzline 2d Spam/Away http://www.+[net|com|org]
Yani burada diyor ki; away olan kullanıcının away msjında www. 'den sonra com , net , org gibi bir uzantisi varsa bu kisiye iki günlük gzline at. www.abc.com , www.xxx.net , http://www.xxx.org gibi adresleri uzaklastirir.
Spamfilter Kullanımı :
/spamfilter [add|del|remove|+|-] [type] [action] [tkltime] [reason] [regex]