Pinterest Stumbleupon Whatsapp
Advertisement

join irc channelLast week, I made my attempt at welcoming newbies to the wonderful world of Internet Relay Chats. This week, we’re going to step things up to the next level for those of you who have decided that HydraIRC belongs in your taskbar. If you’re anything like me, you feel it’s necessary to be in 50 different channels at once (even though you know you’ll never be able to keep up with all of that).

It’s time for you to learn how to save yourself a lot of time at every startup and automate the process of joining your favorite IRC servers and channels. This is, by the way, another reason why HydraIRC is the superior client to those of you who are new to the chat universe. Creating “scripts” is incredibly simple and intuitive.

Let’s start off by going into the Options menu and clicking Prefs…. A window of preferences should then pop up for you.

join irc channel

On the left, click Scripts. At this point, you should see a single option of “SomeNetwork_OnLoggedIn“.

join irc server

Advertisement

In my screenshot, you’ll see many more because I’ve set up autojoins on several servers. Nonetheless, this is an example script profile that HydraIRC has created for you. Using it alone, some users can gauge how to set up their scripts. You can learn a little more about command/script profiles on the official website, but let me do some basic explaining.

HydraIRC has three built-in profile name suffixes that trigger the program to automatically execute a script. These three are as follows:

  • OnStartUp, which will execute the script immediately when the application is launched.
  • OnLoggedIn, which will execute the script when you have joined a particular server.
  • OnJoin, which will execute the script when you join a particular channel.

By creating profiles with the names “OnStartUp”, “{SERVER}_OnLoggedIn”, or “~{SERVER}_{CHANNEL}_OnJoin”, you are authorizing HydraIRC to automatically execute the scripts during those conditions. If we wanted a script to automatically execute when we join the EFNet server, we’d name the profile “EFNet_OnLoggedIn“. If we wanted to execute the script only when we join the #chat channel on EFNet, we’d name it “~EFNet_#chat_OnJoin“.

Let’s go over an example. We’ll use GameSurge, as we did in my first post. By default, it is included with HydraIRC. On the server list, it is given the exact name “GameSurge” (which will need to be exact, case sensitive, in the profile name).

join irc server

On Gamesurge, we’d like to automatically join #sourcemod, #gamesurge, and #linux when we connect. So we’ve done the hard part. Now here’s our script, “GameSurge_OnLoggedIn”:

/quietjoin sourcemode,gamesurge,linux

It’s very simple. The “/quietjoin” command is ideal when you’re joining multiple channels at once as it softens each join. Afterwards, the channel names (pound signs are not required) delimited by commas.

join irc server

Now what if you want to automatically join GameSurge every time you launch HydraIRC? That’s simple also. Your script profile would be “OnStartUp”:

/server irc.gamesurge.net

That’s it. At this point, when you start HydraIRC you’d now automatically connect to the GameSurge server and automatically join those three channels. Do you want to connect to multiple servers on startup? Just add a new line with the following (with FreeNode in this example):

/newserver irc.freenode.net

join irc channel

Every power IRC uses user scripts. Automation is one of my favorite things in the world, and you’ll find that automating certain parts of your chatting experience will allow you to do what you came to do – enjoy it. If I’ve still been unable to convince you that HydraIRC is the way to go, check out a few interesting scripts for mIRC Flashback: 3 Useful and Fun mIRC Scripts Flashback: 3 Useful and Fun mIRC Scripts Read More .

Holler at me in the comments if you’re having trouble or want to share any more useful scripts for the IRC platform.

Leave a Reply

Your email address will not be published. Required fields are marked *