Jump to content

Archived

This topic is now archived and is closed to further replies.

chain

Spamfilter Block

Recommended Posts

  • Administrators

Spamfilter Block

 

>Syntax:spamfilter {	regex ;	target {  };	action ;	reason ;	ban-time ;

 

};regex is the regex to be matched.

target specifies the targets, see here for a list of possible types (eg: 'channel').

action specifies the action to be taken, see here for a list of possible actions (eg: 'gline').

reason optional: specifies the ban or block reason, else the default is used.

ban-time optional: specifies the duration of a *line ban or shun, else the default is used (1 day).

 

Examples:

 

>spamfilter {	regex "Come watch me on my webcam";	target { private; channel; };	action gline;	reason "You are infected, please go to www.antivirus.xx/blah/virus=GrrTrojan";	ban-time 6h;}; spamfilter {	regex "come to irc\..+\..+";	target { private; channel; };	action gline;	action gline;	reason "No spamming allowed";};

Link to comment
Share on other sites



×
×
  • Create New...