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: Difference between revisions

From ZNC
Jump to navigation Jump to search
Kylef (talk | contribs)
m Add a link to the open issue for irssi about supporting these types of privmsgs
>TingPing
(14 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:privmsg}}
{{External Module}}
{{External Module}}


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
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 ==
== Supported Clients ==
Line 7: Line 8:
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.
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.


* Palaver
* Textual 2.1
* Textual 2.1
* Weechat
* Weechat
* Colloquy
* Colloquy
* Colloquy mobile
* Colloquy mobile
* XChat 2.8.6 with [[Privmsg/XChat|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]
* IRCCloud.com
* [http://www.amazon.com/CounterCultured-Android-IRC-Internet-Chat/dp/B004R1D10Y 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.  If you have some clients which support this module and some that do not, consider trying [[privmsg auto]] module.


=== Bugs related to other clients ===
=== Bugs related to other clients ===


* irssi http://bugs.irssi.org/index.php?do=details&task_id=833
* irssi http://bugs.irssi.org/index.php?do=details&task_id=833
== 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.

Revision as of 13:45, 17 March 2015

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 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.