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 "HexChat"

From ZNC
Jump to: navigation, search
(Include the network.)
(Restore HexChat from archive.org - 2016/08/27)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Connecting to ZNC ==
+
=== Connecting ===
=== SSL ===
 
==== Connecting ====
 
Connections to ZNC using SSL:
 
* HexChat
 
* Network List
 
* Add "BNC"
 
* Edit
 
* Edit "my.bouncer.net/+6697"
 
* Server password: username/network:password
 
* [check] Auto connect to this network at startup
 
* [check] Accept invalid SSL certificates
 
* Close
 
* Close
 
  
 +
# Open the network list (ctrl+s or HexChat > Network List)
 +
# Hit ''Add'' and name the network
 +
# Hit ''Edit''
 +
# Add the server's address (with the format of ''hostname/port'') by clicking on the server list and hit enter to save.
 +
# You can check the autoconnect option here if you prefer.
 +
# Check "Use SSL..." and "Accept invalid SSL" if you are using that (it's invalid because it is self-signed)
 +
# Uncheck "Use global user information" and fill in the username with ''username/network''
 +
# Enter your password...
 +
## For 2.9.6+ you must have "Server Password" for ''login method''.
 +
## Pre 2.9.6 just input into the ''Server Password'' field.
 +
# Hit Close to save your changes and then test it.
  
 
==== Troubleshooting ====
 
==== Troubleshooting ====
It does not connect.
+
If it does not connect ensure you have the correct port set.
  
If port 6697 is the SSL port, you need to specify the "+" before the port.
+
If no port is set HexChat defaults to ''6667'' for non-ssl and ''6697'' for ssl.
  
This is a failed attempt due to not specifying the "+"
+
The format in the network list for ports is ''address''/''port''
 +
 
 +
This is a failed attempt due to not specifying the correct port.
 
   Connecting to my.bouncer.net (6697)
 
   Connecting to my.bouncer.net (6697)
 
   Connected. Now logging in...
 
   Connected. Now logging in...
 
   Disconnected (Connection reset by peer)
 
   Disconnected (Connection reset by peer)
  
 +
=== Playback formatting ===
 +
 +
==== Timestamps ====
 +
 +
HexChat 2.9.6+ Supports the ''znc.in/server-time[-iso]'' capability, this means that all the timestamps will be the correct ones given by the server.
 +
 +
==== Scripts ====
  
=== Non SSL ===
+
Some events printed by the playback still won't look quite correct, to help this some scripts have been written to do extra formatting.
  
This is for plain non-ssl connections.
+
Scripts for 2.12.1+ (Lua, Recommended)
==== Connecting ====
+
* [https://github.com/TingPing/plugins/blob/master/HexChat/mymsg.lua HexChat/Privmsg]
* HexChat
+
* [https://github.com/TingPing/plugins/blob/master/HexChat/zncbuffer.lua HexChat/ZNCBuffer]
* Network List
+
* [https://github.com/TingPing/plugins/blob/master/HexChat/buffextras.lua HexChat/Buffextras]
* Add "BNC"
+
* [https://github.com/TingPing/plugins/blob/master/HexChat/playback.lua HexChat/Playback]
* Edit
 
* Edit "my.bouncer.net/6667"
 
* Server password: username/network:password
 
* [check] Auto connect to this network at startup
 
* Close
 
* Close
 
  
== ZNC Scripts ==
+
Scripts for 2.9.6+ (Python)
 +
* [https://github.com/ChaozZBubi/tools/blob/master/hexchat/buffextras.py HexChat/Buffextras]
 +
* [https://github.com/TingPing/plugins/blob/master/HexChat/duplicates/mymsg.py HexChat/Privmsg]
 +
* [https://github.com/TingPing/plugins/blob/master/HexChat/duplicates/zncbuffer.py HexChat/ZNCBuffer]
  
 +
Older XChat scripts
 
* [[Buffextras/XChat-perl]]
 
* [[Buffextras/XChat-perl]]
 
* [[Savebuff/XChat-Perl]]
 
* [[Savebuff/XChat-Perl]]
 +
* [[Privmsg/XChat]] pre 2.9.6
 +
 +
  
 
[[Category:Clients]]
 
[[Category:Clients]]

Latest revision as of 08:55, 2 April 2017

Connecting[edit]

  1. Open the network list (ctrl+s or HexChat > Network List)
  2. Hit Add and name the network
  3. Hit Edit
  4. Add the server's address (with the format of hostname/port) by clicking on the server list and hit enter to save.
  5. You can check the autoconnect option here if you prefer.
  6. Check "Use SSL..." and "Accept invalid SSL" if you are using that (it's invalid because it is self-signed)
  7. Uncheck "Use global user information" and fill in the username with username/network
  8. Enter your password...
    1. For 2.9.6+ you must have "Server Password" for login method.
    2. Pre 2.9.6 just input into the Server Password field.
  9. Hit Close to save your changes and then test it.

Troubleshooting[edit]

If it does not connect ensure you have the correct port set.

If no port is set HexChat defaults to 6667 for non-ssl and 6697 for ssl.

The format in the network list for ports is address/port

This is a failed attempt due to not specifying the correct port.

 Connecting to my.bouncer.net (6697)
 Connected. Now logging in...
 Disconnected (Connection reset by peer)

Playback formatting[edit]

Timestamps[edit]

HexChat 2.9.6+ Supports the znc.in/server-time[-iso] capability, this means that all the timestamps will be the correct ones given by the server.

Scripts[edit]

Some events printed by the playback still won't look quite correct, to help this some scripts have been written to do extra formatting.

Scripts for 2.12.1+ (Lua, Recommended)

Scripts for 2.9.6+ (Python)

Older XChat scripts