HexChat auto login

I have always preferred a graphical IRC client, probably because I got familiar with IRC quite late. I used to make XChat auto login to irc.freenode.net with my username, but since I did this once per Slackware release, I never really remembered how I set it up.

With Slackware 14.2, XChat got substituted by HexChat, which has a very similar look and feel. For several months I would login manually every time, typing the identification command… Anyway, I decided to make things a bot more convenient and this time write it down.

From the Network List, select freenode and click Edit. Set the Login method to Custom... (connect commands). Then, go to Connect commands tab and Add the identification command:

/msg NickServ identify %p

where %p will parse the password entered in the Password field:


Of course, among the channels I specify in the Autojoin channels tab are ##slackware and #slackbuilds.


14 Comments on “HexChat auto login”

  1. Thank you for sharing. I refer to this guide every time I set up hexchat on a new computer (I tend to forget the steps each time after installing!)

  2. slackalaxy says:

    I am glad someone finds useful stuff in my humble blog :)

  3. Thanks for this. I didn’t know you could use the custom field for this (along with the %p part as well).

    A series of web searches led me here ahd I came looking for an answer to my issue – My Hexchat was autojoining channels before I was identified with Nickserv and some channels don’t let you in unless you’ve got a registered nick…

    Didn’t find the answer here, but found it eventually (buried in the Hexchat manual). Thought you all could benefit from the solution as I think others probably have it too:

    “Why are channels joined before identifying?There are 3 ways to authenticate before joining a channel, all are network dependant but nickserv is common andSASL is the best (HexChats default network list tries to use the best method by default, don’t change it):

    • Use a Nickserv password and increase the delay before joining in Settings→Preferences→Advanced”

    I increased my delay from 5 to 10 and problem solved. I can now auto-join #Python and other channels without any issues ;)

    See ya guys!

  4. Hi there, I would like to subscribe for this blog to take most recent updates, so where can i do it please help out.


    Off the record plugin for HexChat, are you interested in it?

  6. slackalaxy says:

    What is this plugin?


    I posted earlier but it didn’t seem to register.

  8. slackalaxy says:

    Cool, thanks!
    PS: Your previous comment contained only a link and was classified as spam…


    My apologies, I wasn’t trying to spam… Thanks

  10. slackalaxy says:

    i know, no problem :)

  11. Lil says:

    Thanks for this complete information… Do you know what to do when your computer got turned off while you were talking and now you can’t access to the old account you had?

  12. slackalaxy says:

    Lil, what do you mean?

  13. Anonymous says:


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s