https://wiki.znc.in/index.php?title=Callerid&feed=atom&action=historyCallerid - Revision history2024-03-29T07:03:38ZRevision history for this page on the wikiMediaWiki 1.42.0-alphahttps://wiki.znc.in/index.php?title=Callerid&diff=2279&oldid=prevEmptystring: Create callerid module page2017-12-22T23:47:17Z<p>Create callerid module page</p>
<p><b>New page</b></p><div>{{External Module}}<br />
<br />
'''Callerid''' is a network module used to make it easier to use freenode's "callerid" feature. The "callerid" feature allows you to set user mode +g and only receive messages from previously whitelisted users. Whitelisting users is done with <code>/ACCEPT user</code>, and un-whitelisting users is done with <code>/ACCEPT -user</code>.<br />
<br />
This module intercepts the ACCEPT command and keeps track of who you've whitelisted. Whenever ZNC connects to IRC, this module will ACCEPT the same users as before.<br />
<br />
The source is available on [https://gitlab.com/lessbroken/znc-callerid/blob/master/callerid.py GitLab].<br />
<br />
== Installation ==<br />
<br />
# Make sure <code>modpython</code> is enabled globally.<br />
# Copy <code>callerid.py</code> to <code>~/.znc/modules</code>, or wherever you usually install ZNC modules.<br />
# You can now enable the <code>callerid</code> module at a network level.<br />
<br />
Once the module is enabled, the ACCEPT command will be tracked.<br />
<br />
== Usage ==<br />
<br />
For basic usage, you will not have to interact with the module directly. It will silently track the ACCEPT command and maintain its user list. However, there are a few ways to interact with the module:<br />
<br />
* '''Verbose mode:''' Loading the module with "verbose" as an argument will cause the module to send messages whenever its list is updated, and on connection with a list of users that will be accepted.<br />
* '''User list:''' <code>/msg *callerid list</code> will return the list of users the module knows about.<br />
* '''Clearing the list:''' <code>/msg *callerid clearall</code> will clear the list, after confirmation.<br />
<br />
== Contact ==<br />
<br />
The author is ''empty_string'' on freenode. They hang out in ''#znc'' and are happy to answer any questions you may have about the module.</div>Emptystring