amsgfilter
| This is an external module. Please note that it may or may not work with the current release. Contact the author if you have any questions, but feel free to ask on IRC, someone might able to help you there, too. |
This module filters so called amsgs (messages being send to all joined channels) so that they won't appear in specified channels.
Contents |
Getting the Code
The code for this module can be found here.
Usage
Arguments
This user module takes none to many arguments. Each argument is either a channel you want to filter from amsgs (which can include wildcards) or, if it starts with !, it is an exception for the positive filters.
Read loading modules to learn more about loading modules.
Commands
add
Adds a channel you want to filter from amsgs:
/msg *amsgfilter #chan
You can also use * as a wildcard. In this example, amsgs won't reach any channel beginning with "#foo":
/msg *amsgfilter #foo*
To add an exception (e.g. from the wildcard filter above), put an ! in front of the filter pattern:
/msg *amsgfilter !#foobar
With this exception, amsgs will be filtered from any channel beginning with #foo except channel #foobar.
del
Removes an entry from the filter list. The first parameter must be a perfect match on the filter. (Refer to the list command below to find out which filters may be removed.)
/msg *amsgfilter del !#foobar
list
Lists all added amsg filters:
<kroimon> list <*amsgfilter> +----------+ <*amsgfilter> | Channel | <*amsgfilter> +----------+ <*amsgfilter> | #chan | <*amsgfilter> | #foo* | <*amsgfilter> | !#foobar | <*amsgfilter> +----------+