| This is an external module.
Please note that it may or may not work with the current release (1.6.6).
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_auto is a network module designed to be used when one has mixture of clients that can use the privmsg module and clients that cannot which would otherwise require the privmsg_prefix module. Like both privmsg and privmsg_prefix it sends outgoing private messages to all clients, each client is sent a CTCP VERSION when they connect to determine if they can accept messages without a prefix, and messages will be sent accordingly.
Getting the Code
This network module takes no arguments.
Read loading modules to learn more about loading modules.
- View if the current client is to receive prefixed, or non-prefixed privmsg
- Force privmsg_auto to change what it will send the current client
How this works
privmsg_auto uses a CTCP VERSION request to clients as they connect (or when the module is loaded) to try to match them against a list of clients known to be able to support messages as they are sent by privmsg. Otherwise, messages are sent as they would be by privmsg_prefix. See the Supported Clients list to see what clients privmsg_auto knows about. Note, if a client is listed as being capable with a script installed, privmsg_auto will assume that it is capable. You must install the script on your client unless you want broken messages sent your way!
If your client does work (you can test by using the toggle command) and it's not being identified by privmsg_auto, or you have any other issue, make an issue or contact nw` on irc://irc.freenode.net/#znc