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
(Restore HexChat from archive.org - 2016/08/27)
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
# Hit ''Add'' and name the network
 
# Hit ''Add'' and name the network
 
# Hit ''Edit''
 
# Hit ''Edit''
# Add the server's address by clicking on the server list and hit enter to save it.
+
# 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.
 
# 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)
+
# 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''
 
# Uncheck "Use global user information" and fill in the username with ''username/network''
 
# Enter your password...
 
# Enter your password...
Line 14: Line 14:
  
 
==== 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...
Line 29: Line 31:
 
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.
 
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.
  
==== ZNC Scripts ====
+
==== Scripts ====
  
 
Some events printed by the playback still won't look quite correct, to help this some scripts have been written to do extra formatting.
 
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)
 +
* [https://github.com/TingPing/plugins/blob/master/HexChat/mymsg.lua HexChat/Privmsg]
 +
* [https://github.com/TingPing/plugins/blob/master/HexChat/zncbuffer.lua HexChat/ZNCBuffer]
 +
* [https://github.com/TingPing/plugins/blob/master/HexChat/buffextras.lua HexChat/Buffextras]
 +
* [https://github.com/TingPing/plugins/blob/master/HexChat/playback.lua HexChat/Playback]
 +
 +
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]]
* [https://github.com/TingPing/plugins/blob/master/HexChat/mymsg.py HexChat/Privmsg] 2.9.6+
+
* [[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