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.
Click to continue reading …