To create new wiki account, please join us on #znc at freenode and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Difference between revisions of "Ignore"

From ZNC
Jump to: navigation, search
(initial creation for convenience)
 
(Moved from Modignore)
(Tag: Removed redirect)
Line 1: Line 1:
#REDIRECT [[Modignore]]
+
 
 +
{{DISPLAYTITLE:ignore}}
 +
{{External Module}}
 +
 
 +
An ignore module for ZNC ≥ 1.0.
 +
 
 +
== Getting the Code ==
 +
The code for this module can be found [https://github.com/moshee/modignore here].  Please read "[[compiling modules]]" in order to build this module.
 +
Example method of fetching the code:
 +
$ cd ~/.znc/modules/
 +
$ git clone https://github.com/moshee/modignore.git
 +
 
 +
=== Installation ===
 +
Refer to the [https://github.com/moshee/modignore/blob/master/README.md README] or use the following example:
 +
$ znc-buildmod ignore.cc
 +
$ cp ignore.so ~/.znc/modules/
 +
 
 +
== Usage ==
 +
 
 +
{{Module arguments|count=no}}
 +
 
 +
=== Commands ===
 +
Commands can be found on the [https://github.com/moshee/modignore/blob/master/README.md README]
 +
 
 +
==== Example Output ====
 +
<MetaNova> help
 +
<*ignore> +-------------------------------------+-----------------------------------------------------------------------------------+
 +
<*ignore> | Command                            | Description                                                                      |
 +
<*ignore> +-------------------------------------+-----------------------------------------------------------------------------------+
 +
<*ignore> | AddHost [mMaAnNcC] <nick!user@host> | Ignore a hostmask from [m]essage, [a]ction, [n]otice, [c]tcp; uppercase = private |
 +
<*ignore> | AddPattern [mMaAnNcC] <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                                                          |
 +
<*ignore> +-------------------------------------+-----------------------------------------------------------------------------------+
 +
The required arguments for AddHost and AddPattern should be "quoted" if they contain spaces.
 +
 
 +
== To Do List ==
 +
Taken from the [https://github.com/moshee/modignore/blob/master/README.md README]:
 +
- Ignore invites
 +
- Ignore DCC (I'll have to take a look at how this works in the IRC protocol)

Revision as of 21:38, 2 January 2018


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:

$ cd ~/.znc/modules/
$ git clone https://github.com/moshee/modignore.git

Installation

Refer to the README or use the following example:

$ znc-buildmod ignore.cc
$ 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> +-------------------------------------+-----------------------------------------------------------------------------------+
<*ignore> | Command                             | Description                                                                       |
<*ignore> +-------------------------------------+-----------------------------------------------------------------------------------+
<*ignore> | AddHost [mMaAnNcC] <nick!user@host> | Ignore a hostmask from [m]essage, [a]ction, [n]otice, [c]tcp; uppercase = private |
<*ignore> | AddPattern [mMaAnNcC] <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                                                           |
<*ignore> +-------------------------------------+-----------------------------------------------------------------------------------+

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)