From UnrealIRCd documentation wiki
Jump to navigation
Jump to search
Item
|
Explanation & possible options
|
add / del
|
Indicates if you want to add or remove a spamfilter
|
match-type
|
The type of match string you're going to use (see also the examples later on). There are two choices:
- -simple means simple matching with ? and * wildcard support
- -regex uses regular expressions (more on that later)
|
target
|
specifies the target type, the targets this spamfilter will look into:
Character
|
Config item
|
Description
|
c
|
channel
|
Channel message
|
p
|
private
|
Private message (from user->user)
|
n
|
private-notice
|
Private notice
|
N
|
channel-notice
|
Channel notice
|
P
|
part
|
Part reason
|
q
|
quit
|
Quit reason
|
d
|
dcc
|
DCC filename
|
a
|
away
|
Away message
|
t
|
topic
|
Setting a topic
|
u
|
user
|
User ban, will be matched against nick!user@host:realname
|
You can (and often will) specify multiple targets, like: cpNn
|
action
|
specifies the action to be taken, such as kline. See Actions for a list of all possible actions.
|
tkltime
|
The duration of the *line/shun added by the filter. Use '-' to use the default or to skip (eg: if action is 'block')
|
reason
|
Block/*line/shun reason.. you CANNOT use spaces in this, but underscores ('_') will be translated into spaces at runtime. And double underscore ('__') gets an underscore ('_'). Again, use '-' to use the default reason.
|
match-string
|
This is the actual string that should be blocked or that we should perform the specified action on. The syntax of this string depends on the match-type. See also examples below.
|