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.

privmsg

From ZNC
Jump to navigation Jump to search

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

Supported Clients

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.

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. If you have some clients which support this module and some that do not, consider trying privmsg auto module.

Bugs related to other clients

How this works

In this example, my own nick is "kylef":

:kylef!kylef@amnesia.darkscience.net PRIVMSG doe :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 doe, 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.