To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.
Ignore: Difference between revisions
Jump to navigation
Jump to search
m title change |
updated to reflect the newer fork |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
== Getting the Code == | == Getting the Code == | ||
The code for this module can be found [https://github.com/ | The code for this module can be found [https://github.com/srd424/modignore here]. Please read "[[compiling modules]]" in order to build this module. | ||
Example method of fetching the code: | Example method of fetching the code: | ||
$ cd ~/.znc/modules | $ mkdir ~/.znc/modules ; cd ~/.znc/modules | ||
$ git clone https://github.com/ | $ git clone https://github.com/srd424/modignore.git | ||
=== Installation === | === Installation === | ||
Refer to the [https://github.com/ | Refer to the [https://github.com/srd424/modignore/blob/master/README.md README] or use the following example: | ||
$ znc-buildmod ignore. | $ znc-buildmod ignore.cpp | ||
$ cp ignore.so ~/.znc/modules/ | $ cp ignore.so ~/.znc/modules/ | ||
Line 21: | Line 21: | ||
=== Commands === | === Commands === | ||
Commands can be found on the [https://github.com/ | Commands can be found on the [https://github.com/srd424/modignore/blob/master/README.md README] | ||
==== Example Output ==== | ==== Example Output ==== | ||
<MetaNova> help | <MetaNova> help | ||
<*ignore> | <*ignore> AddHost [mMaAnNcCjpqk] <nick!user@host>: Ignore a hostmask from [m]essage, [a]ction, [n]otice, [c]tcp, [j]oins, [p]arts, [q]uits, nic[k]; uppercase = private | ||
<*ignore> AddPattern [mMaAnNcCjpqk] <regex>: Ignore text matching a regular expression | |||
<*ignore> Clear: Clear all ignore entries | |||
<*ignore> Del <n>: Remove an ignore entry by index | |||
<*ignore> | <*ignore> Help <search>: Generate this output | ||
<*ignore> | <*ignore> List: Display the ignore list | ||
<*ignore> | |||
<*ignore> | |||
<*ignore> | |||
The required arguments for AddHost and AddPattern should be "quoted" if they contain spaces. | The required arguments for AddHost and AddPattern should be "quoted" if they contain spaces. | ||
== To Do List == | == To Do List == | ||
Taken from the [https://github.com/ | Taken from the [https://github.com/srd424/modignore/blob/master/README.md README]: | ||
- Ignore invites | - Ignore invites | ||
- Ignore DCC (I'll have to take a look at how this works in the IRC protocol) | - Ignore DCC (I'll have to take a look at how this works in the IRC protocol) | ||
== Forks == | |||
* https://github.com/moshee/modignore - original version (lacks targets of joins, parts, quits, and nick changes |
Latest revision as of 20:09, 17 October 2023
This is an external module. Please note that it may or may not work with the current release (1.9.1). This module is not included in the default ZNC installation, and you will need to manually compile it before you can load this module. Contact the author if you have any questions, but feel free to ask in #znc on Libera.Chat. Someone might be able to help you there. |
An ignore module for ZNC ≥ 1.0.
Getting the Code
The code for this module can be found here. Please read "compiling modules" in order to build this module. Example method of fetching the code:
$ mkdir ~/.znc/modules ; cd ~/.znc/modules $ git clone https://github.com/srd424/modignore.git
Installation
Refer to the README or use the following example:
$ znc-buildmod ignore.cpp $ cp ignore.so ~/.znc/modules/
Usage
Arguments
This user module takes no arguments.
Read loading modules to learn more about loading modules.
Commands
Commands can be found on the README
Example Output
<MetaNova> help <*ignore> AddHost [mMaAnNcCjpqk] <nick!user@host>: Ignore a hostmask from [m]essage, [a]ction, [n]otice, [c]tcp, [j]oins, [p]arts, [q]uits, nic[k]; uppercase = private <*ignore> AddPattern [mMaAnNcCjpqk] <regex>: Ignore text matching a regular expression <*ignore> Clear: Clear all ignore entries <*ignore> Del <n>: Remove an ignore entry by index <*ignore> Help <search>: Generate this output <*ignore> List: Display the ignore list
The required arguments for AddHost and AddPattern should be "quoted" if they contain spaces.
To Do List
Taken from the README:
- Ignore invites - Ignore DCC (I'll have to take a look at how this works in the IRC protocol)
Forks
- https://github.com/moshee/modignore - original version (lacks targets of joins, parts, quits, and nick changes