Pinterest Stumbleupon Whatsapp
Ads by Google

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

Ads by Google

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.

  1. Daniel
    July 4, 2012 at 1:37 am

    Great post, thankyou! I'm preparing a portable IRC client to go straight to a pre-selected server and channel. I chose HydraIRC as it looked ideal for the purpose, and this post helped me set up the autolaunch scripts. The last thing I need to do is automatically set a nick name based off the user's Windows account, or as a last resort their computer name - any idea how I might go about this? Thanks!

    • Craig Snyder
      July 4, 2012 at 5:45 pm

      HydraIRC would not be able to do this for you with any of their built-in triggers. mIRC is your best option when it comes to more advanced scripting. If you Google up one of the popular mIRC script repositories, you can probably find something very similar to what you're asking for.

  2. Leo
    May 3, 2012 at 7:48 am

    Hi Craig, I was wondering if you could help me come up with a command profile that would let me connect to a server with a different user identity than the default. I'm also unsure on how to automatically include a password in the scripts. Thanks for your help.

    • Craig Snyder
      May 4, 2012 at 9:21 am

      Are you looking to switch the identity completely, or just your nickname? I'm 100% sure that the latter is totally possible, though changing identities may not be (unless there is an actual chat command you can send to switch between identities).

      By "include a password," are you referring to identifying yourself on a server as a registered user by using NickServ?

      • Zilver
        July 19, 2012 at 1:05 pm

        Thanks! I have successfully managed to autojoin the servers/channels.
        But is there anyway to auto identify? like a script? coz i have to go on each server and type .msg nickserv identify
        please help! oh and my password is the same on all servers.

        • Craig Snyder
          July 24, 2012 at 2:18 pm

          You can just include the "/msg NickServ IDENTIFY" command within the script itself, for each server that you automatically (or manually) connect to.

  3. Pau
    March 22, 2012 at 5:45 pm

    Doug GreenhoughRegarding that thread: Building reostnms is currently quite time consuming, especially if (like me) you don't really know what you're doing. However, the system allows you to make a plug-in-the-numbers template for each one, giving them a full progression from level 1-20, complete with escalating powers and stats. I've got a few reostnms + all the PC races/classes in a simple spreadsheet, so now if I want a level 5 dwarf tactician, or a level 2 dire wolf, I select three items from drop down lists hit print, and I've got everything apart from feats and equipment already worked out. I'd guess it wouldn't be too much more work to include those too if you knew what you were doing, but so far I don't know what would end up being worthwhile

  4. invest liberty reserve
    March 12, 2012 at 1:39 am

    Hello There. I found your blog using msn. This is a really well written article. I will make sure to bookmark it and return to read more of 301 Moved Permanently . Thanks for the post. I'll certainly return.

Leave a Reply

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