Skip to content
Permalink
Browse files Browse the repository at this point in the history
Add the new implementation of the silence module.
This module has significant improvements on the previous one:
 * Flags which actually make sense.
 * Better compatibility with other SILENCE implementations.
 * Support for blocking CTCPs.
 * Support for blocking TAGMSGs.
  • Loading branch information
SadieCat committed Apr 18, 2019
1 parent 9f3502d commit bcd65de
Show file tree
Hide file tree
Showing 2 changed files with 464 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/conf/helpop.conf.example
Expand Up @@ -145,6 +145,32 @@ E.g. '/RMODE #channel b m:*' will remove all mute extbans on the channel.">
This behaves identically to /REMOVE. /REMOVE is a built-in mIRC command
which caused trouble for some users.">

<helpop key="silence" value="/SILENCE [(+|-)<mask> [CcdiNnPpsTtx]+]

A server-side ignore of the given n!u@h mask. If the optional flags field is
specified then it must contain one or more flags which specify what kind of
messages should be blocked and how they should be blocked.

/SILENCE - Shows a list of silenced masks
/SILENCE +<mask> [<flags>] - Add a mask
/SILENCE -<mask> - Remove a mask

Valid SILENCE Flags
-------------------
c Matches a CTCP targeted at a channel.
C Matches a CTCP targeted at a user.
d Default behaviour; equivalent to CciNnPpTt.
i Matches an invite to a channel.
n Matches a NOTICE targeted at a channel.
N Matches a NOTICE targeted at a user.
p Matches a PRIVMSG targeted at a channel.
P Matches a PRIVMSG targeted at a user.
t Matches a TAGMSG targeted at a channel.
T Matches a TAGMSG targeted at a user.
x Exempt the mask from silence rules.

Any combination of flags is valid.">

<helpop key="knock" value="/KNOCK <channel> :<reason>

Sends a notice to a channel indicating you wish to join.">
Expand Down

0 comments on commit bcd65de

Please sign in to comment.