The wiki is currently undergoing some major improvements. If you need some information and you don't know where to look, please come to #ecnet
Spam Filters
From ECNet Wiki
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. - A few examples (note they will probably linewrap!): /spamfilter add p block - - Come watch me on my webcam /spamfilter add p block - Possible_virus_detected,_join_#pseudo-servers Come watch me on my webcam /spamfilter add p tempshun - - You_are_infected me\.mpg /spamfilter add p gline - - Come watch me on my webcam /spamfilter add p gline 3h Please_go_to_www.viruscan.xx/nicepage/virus=blah Come watch me on my webcam /spamfilter add p kill - Please_go_to_www.viruscan.xx/nicepage/virus=blah Come watch me on my webcam /spamfilter del p block - - Come watch me on my webcam* /spamfilter add cN gzline 1d No_advertising_please come to irc\..+\..+ -