ZNC website has died on 29 March 2017, without fresh backups. Wiki is now back from dump of July 2015. Please help restoring the lost content.
| This is an external module.
Please note that it may or may not work with the current release (1.6.5).
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 on #znc (chat.freenode.net). Someone might be able to help you there.
privmsg is a user module which will send all the private messages you send to all your attached clients. This module is designed to work with znc from git. You can find the source at https://raw.githubusercontent.com/kylef/znc-contrib/master/privmsg.cpp
Not all clients support receiving private messages from ourself to another query window. The following list is of all clients that are known to work with this module.
- Textual 2.1
- Colloquy mobile
- XChat 2.8.6 with this script
- mIRC 7.27 with this script
- HexChat 2.9.6+ with this script
- Android IRC 2.1.15
If your IRC client is not listed here, you can still try it, maybe it's supported, but just not in the list, or you can try privmsg_prefix module, which looks uglier, but doesn't depend on your client.
How this works
In this example, my own nick is "kylef":
:firstname.lastname@example.org PRIVMSG Derecho :Hello world!
Currently, this will display the private message in a query window titled "kylef". The RFC doesn't really define how this should be handled, but to me it makes sense for this message to go in the query window for Derecho, and the sender should be kylef (myself).
In most IRC servers, you wont receive PRIVMSG's formatted this way. But it would make sense for uses with IRC bouncers where we could send messages we sent to all connected clients.