Yep, I said it. And I meant it.
Let’s face it, there’s a plethora of options when it comes to instant communication with friends, family, peers, llamas, whatever. I certainly use many of them from SMS to Hangouts to Skype to Courier Pigeon. One of those that I find useful is IRC. As old as it may be, it is reliable and one of the more popular ways that developers in large open source projects communicate and track communications with each other. It also has all sorts of other uses that I’m just not going to get into.
At any rate, the purpose of this post is to share a solution to a specific problem that I had, not to review IRC.
I use IRC Cloud (www.irccloud.com) as my main client to stay connected to IRC channels. They provide a nice web interface and a pretty good Android app with push notifications. Additionally, it will keep you connected when you idle – up to two hours for free and unlimited idle if you pay the $5 monthly fee.
The problem I faced was when there’s a netsplit or some other type of drop in the network that kicks me from the server I’m on. A few of these channels are invite only, so when you reconnect you need an invite to rejoin each of those channels. I was doing this manually for a few weeks until I discovered the solution … and it’s baked right into IRCCloud.
We’re going to create a very simple login script in two steps that will regain your id (assuming you lost it, which I always did) and invite you to your private channels.
Login to irccloud.com and then click on the Edit button (circled below) near the top of the page.
Click on advanced options from there and the window will expand to what you see below.
Enter in your custom script in the section circled in red above. Below is an example of what mine looks like, notice the WAIT commands – this is a little wonky and may depend on which server you’re connecting to. It’s best to start with what I have below and adjust from there, if at all.
/msg chanserv invite #supersecretchannel
/msg chanserv invite #theBatCave
/msg nickserv regain BatMan
No, I’m not really Batman. But you get the idea. Now just click save and you’re all done.