Crule

Since UnrealIRCd 6.1.2 we support spamfilter::rule, security-group::rule and mask::rule. They allow you to filter in a C like if-style, eg: :
 * Supported comparison operators are:,   and
 * You can use  (AND) and   (OR) expressions to combine multiple checks
 * The following functions are supported:
 * : number of seconds the user is online
 * : the Reputation score of the user
 * : read the value of a tag set on the user with name TAGNAME
 * : returns the CAP protocol used by the client, such as 300.
 * : returns true if the the client has requested the  capability via CAP REQ.
 * : for a spamfilter, allows you to check the destination of the message (which can be a channel or a nick), wildcards are supported.
 * : returns true if user is a member of this channel. Optionally channel member flags are supported, eg.

You can combine things like: