To create new wiki account, please join us on #znc at freenode and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Difference between revisions of "Privmsg"

From ZNC
Jump to: navigation, search
m (displaytitle lowercase)
(Supported Clients: IRCCloud.com)
Line 16: Line 16:
 
* mIRC 7.27 with [[Privmsg/mIRC|this script]]
 
* mIRC 7.27 with [[Privmsg/mIRC|this script]]
 
* HexChat 2.9.6+ with [https://github.com/TingPing/plugins/blob/master/HexChat/mymsg.py this script]
 
* HexChat 2.9.6+ with [https://github.com/TingPing/plugins/blob/master/HexChat/mymsg.py this script]
 +
* IRCCloud.com
  
 
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 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.

Revision as of 19:42, 21 March 2014

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://github.com/kylef/znc-contrib/blob/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.

Bugs related to other clients

How this works

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

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