/Watch-only-detached-ZNC-module

Modified version of the watch module for ZNC which watches for specific text only when the user is detached from the bouncer.

Primary LanguageC++

Watch only detached

Welcome to the project page for the Watch only detached ZNC module!

The functionality of this module has been added to the official watch module starting with ZNC 1.6.

See znc/znc#388 and znc/znc#641

What is it?

Watch only detached is a module for ZNC which modifies the behavior of the included watch module by only scanning for keywords when the user is disconnected from the bouncer.

Prerequisites

In order to use it you have to have the ZNC IRC bouncer installed. You can download it from the project page or the github repository.

Instalation

  1. Download the source file.
  2. Compile the module by running znc-buildmod watch_only_detached.cpp ; znc-buildmod can be found in the bin folder of your ZNC installation (for example ~/znc/bin).
  3. Copy the watch_only_detached.so file to either ~/.znc/modules or ~/znc/lib/znc/
  4. Activate the module by typing /znc loadmod watch_only_detached in your IRC client.

Usage

To add a watch entry all you need to type is /msg *watch_only_detached add * * *%nick* to watch all the mentions of your IRC nickname.

You can also type /msg *watch_only_detached help for a list of commands and you can visit the watch module page for other command examples.

To do

Add the option to toggle between watching only when the user is detached and watching all the time and merge with the official watch ZNC module.