Configuring SASL for mIRC

The most recent solution for enabling SASL in mIRC appears to be with sasl.mrc, the first of the options documented below. Some older solutions have also been reported, with varying degrees of success. They are still listed here in case the first option does not work.

Configuring SASL for mIRC: sasl.mrc

The mirc script is written by Kyle Travaglini and was originally taken from a SwiftIRC forum post. The SwiftIRC version has been replaced by a version that does not require the DLL. The instructions have been updated by KindOne.

  1. Start mIRC and where you would type text to send to a channel, type/run and hit Enter. A folder will open. Take note of this location.

  2. Download sasl.mrc and save it in the folder from above. You may need to right click and select Save Link As....

  3. In mIRC, click Tools then Scripts Editor.

  4. Click on the Remotes tab, then on File and Load. Find and load sasl.mrc.
    mIRC: scripts editor remotes

    Alternatively, you could use the /load command.

  5. You will see a warning like the one below. You will need to click Yes to finish loading the SASL script.
    mIRC: script load warning

  6. Go back to the main mIRC window, and click Commands, then mSASL v1.0 Beta [sans DLL].
    mIRC: Commands menu

  7. Either select the entry for freenode or click Add. (See below.)

  8. Fill in Network (if applicable). This must exactly match the network in the server list.

  9. In Username, enter your primary registered nickname. A grouped nick will not work. Enter your NickServ password in the NS Password field. Domain should be 0, and AuthType should be PLAIN.
    mIRC: SASL Manager + Network Configuration

  10. Click OK twice to close the dialog boxes.

If everything has been configured correctly, the next time you connect you should see the message: SASL authentication successful

The server address when you connect must match the server address in the server list. You can check this by typing alt+e, finding the freenode folder, expanding and clicking a server, then clicking Edit. If you don't use the server listed here, the script won't work.

If NickServ is unavailable when you connect, then the script will fail and loop repeatedly trying to connect repeatedly until NickServ is back.

Remember to update your settings if you change your NickServ account name or password.

Your nick and password are stored in a plain text file, sasl.hsh, in the same folder as the script.

Configuring SASL for mIRC: sasl-lite.mrc

The "lite" script was taken from a mIRC forum post, which took it from a now-expired pastebin. It lacks the configuration dialog that sasl.mrc has.

  1. Download sasl-lite.mrc and save it in the mIRC application data folder, probably C:\Users\USERNAME\AppData\Roaming\mIRC.

  2. Open the file in your editor and replace var %user = ENTER YOUR USERNAME HERE with your primary registered nickname. Then replace var %password = ENTER YOUR PASSWORD HERE with your NickServ password.

  3. Load sasl-lite.mrc using the /load command.

  4. If everything has been configured correctly, the next time you connect you should see the message:

    SASL authentication successful

Configuring SASL for mIRC: the original sasl.mrc and SASL.dll

This version of the sasl.mrc script is the original, taken from the SwiftIRC forum post. It needs a DLL in addition to the script file.

  1. Download sasl-old.mrc and save it as sasl.mrc in the mIRC application data folder, probably C:\Users\USERNAME\AppData\Roaming\mIRC.

  2. Download SASL.dll and save it in the same place. The source code for the DLL is available as well. It was compiled with Visual Studio 2008 on Windows 7.

  3. Load the script, and press F2 to open the configuration.

  4. Fill in the required fields. Make sure to enter your primary nickname.

  5. Click OK. You may need to click Save.

  6. If everything has been configured correctly, the next time you connect you should see the message:

    SASL authentication successful

If you know of any additions or corrections, or would like to contribute improvements, contact us at the email below.

Copyright © 2002 – 2014 by freenode Creative Commons License
Comments to email address: support at freenode dot net