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.

Ctcp Notifier: Difference between revisions

From ZNC
Jump to navigation Jump to search
Zarthus (talk | contribs)
Create external module page 'ctcp_notifier'
 
Zarthus (talk | contribs)
Also fix issue link description
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
== Installation ==
== Installation ==


The source code of this module can be found [https://raw.githubusercontent.com/Zarthus/Code-Snippets/master/c++/znc-modules/ctcp_notifier.cpp here].
The source code of this module can be found [https://raw.githubusercontent.com/Zarthus/znc-modules/master/ctcp_notifier.cpp here].


Follow the [[Compiling modules]] page to compile it.
Follow the [[Compiling modules]] page to compile it.
Line 33: Line 33:
== Contact Author ==
== Contact Author ==


If you have feedback, suggestions, an issue or otherwise would like to contact the author of this module. Please create a [https://github.com/Zarthus/Code-Snippets/issues/new new issue] on the external module's GitHub page.
If you have feedback, suggestions, an issue or otherwise would like to contact the author of this module. Please create a [https://github.com/Zarthus/znc-modules/issues/new new issue] on the external module's GitHub page.

Latest revision as of 22:39, 4 July 2017

This module will notify you of CTCP requests you receive.

This is especially useful when you have custom CTCP responses set up with ZNC, as ZNC will not pass these requests through to your client. So you will never be aware of the fact that somebody sent you a CTCP request.

Installation

The source code of this module can be found here.

Follow the Compiling modules page to compile it.

Usage

Arguments

This user module takes no arguments.

Read loading modules to learn more about loading modules.

Commands

To issue a command, message *ctcp_notifier with the command you want to execute.

The following commands are available:

  • Help - show the list of available commands.
  • Add - Add a new CTCP request to listen to.
  • Delete - Delete a CTCP request we were previously listening to.
  • Setup [unload] - Tell the module that you want to (un)load all your current custom CTCP responses. By default, no arguments means it will be loaded.
  • Showall - Get notified of all CTCP requests, excluding CTCP ACTIONs.

Notifications

Once configured, a notification will look like this:

<*ctcp_notifier> Replying to CTCP TEST by Nick (Nick!ident@127.0.0.1).

Contact Author

If you have feedback, suggestions, an issue or otherwise would like to contact the author of this module. Please create a new issue on the external module's GitHub page.