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

From ZNC
Jump to navigation Jump to search
Created page with "{{External Module}} This modules sends all your queries to other people to other clients connected to your user. They appear coming from that user, prefixing each message wit..."
 
>TingPing
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
This modules sends all your queries to other people to other clients connected to your user.
This modules sends all your queries to other people to other clients connected to your user.
They appear coming from that user, prefixing each message with "->".
They appear coming from that user, prefixing each message with "->".
If your IRC client supports [[privmsg|privmsg module]], it's recommended to use that module instead, as it makes those message to appear coming from you.
If your IRC client supports [[privmsg|privmsg module]], it's recommended to use that module instead, as it makes those message to appear coming from you.  If you have some clients which support the [[privmsg|privmsg module]] and some that do not, consider using the [[privmsg auto|privmsg_auto module]].


== Installing ==
== Installing ==
The code for this module can be found [https://github.com/DarthGandalf/znc/blob/dgmods/modules/privmsg_prefix.cpp here] ([https://raw.github.com/DarthGandalf/znc/dgmods/modules/privmsg_prefix.cpp raw]). Save it to privmsg_prefix.cpp and follow the [[Compiling modules]] page to compile it.
The code for this module can be found [https://github.com/DarthGandalf/znc/blob/dgmods/modules/privmsg_prefix.cpp here] ([https://raw.github.com/DarthGandalf/znc/dgmods/modules/privmsg_prefix.cpp raw]). Save it to privmsg_prefix.cpp and follow the [[Compiling modules]] page to compile it.
=== Client Scripts ===
For better integration with some clients here are some optional scripts:
* [[HexChat]] 2.9.6+ - [https://github.com/NuclearW/plugins/blob/patch-2/HexChat/mymsg-prefix.py mymsg-prefix.py]


== Usage ==
== Usage ==

Latest revision as of 13:47, 17 March 2015

This modules sends all your queries to other people to other clients connected to your user. They appear coming from that user, prefixing each message with "->". If your IRC client supports privmsg module, it's recommended to use that module instead, as it makes those message to appear coming from you. If you have some clients which support the privmsg module and some that do not, consider using the privmsg_auto module.

Installing

The code for this module can be found here (raw). Save it to privmsg_prefix.cpp and follow the Compiling modules page to compile it.

Client Scripts

For better integration with some clients here are some optional scripts:

Usage

Arguments

This user module takes no arguments.

Read loading modules to learn more about loading modules.

ChangeLog

2013-01-19

First version.

Note

Contact DarthGandalf on irc://irc.freenode.net/#znc, or DGandalf on irc://irc.efnet.org/#znc for bug reports and suggestions.