Automate logging into your account while connecting.

Login-on-Connect (LOC) allows you to automate logging into your account while connecting to the network, removing the need to manually supply N your credentials each time you connect. This feature also allows you to bypass most DNSBL scans and connection restrictions, which is useful for users of some ISPs.

How to use it?

You'll need a DareNET account. You can get one here, if you don't already have one.

Login-on-connect uses the server password feature built into most, if not all, IRC clients, All you have to do is put your login information in the server password box, as shown below:



username password

That is, your username and password should be separated by either a colon or space.

For example, if my username is NiTeMaRe, and my password is ApPlEsAuCe, I'd put the following into the password box:



NiteMare ApPlEsAuCe

Now, whenever I connect to DareNET, I should see a message like the following:

*** Attempting service login...
*** Service login successful
*** Last account login was 2 minutes and 7 seconds ago from nick!user@host [0 failed login attempts since last login]
Welcome to the DareNET IRC Network, ...

Forced disconnect

If your login is rejected, the server will still proceed with the connection but you will not be logged in. You can force the server to disconnect you if login-on-connect fails for any reason by prefixing your username with an exclamation mark.

For example: /server irc.darenet.org:6667 !username:password

Server Passwords

If the server you're connecting to requires a password (not common for most users), you should format your login information as follows:



serverpass username password


If the Login-on-Connect feature isn't working for you due to an error, you'll receive a message indicating why. For example:

*** Attempting service login...
*** Service login failed (Invalid username/password)

Possible error messages:

  • Invalid username/password. Your username, password, and/or client certificate fingerprint do not match.
  • Account needs activated. Your account has not been activated. Please check your email.
  • Account suspended. Your account has been suspended, and therefore cannot be used.
  • Maxlogins exceeded. You exceeded the 'maxlogins' setting for your account (i.e., too many clients are already logged into your account).
  • Invalid hostmask for account. Your hostmask does not match the allowed hostmasks for your account.
  • Unavailable. Services are currently offline.


  • Some mIRC users have reported they needed to restart mIRC before LoC would start working.
  • If you added DareNET to mIRCs server list, make sure the group string is "DareNET" exactly.  It won't send the password otherwise.

If you're still unable to solve these problems on your own, stop by #help for assistance.

What about SASL?

Login-on-connect (LOC) predates  SASL support on IRC, and allows older clients (or those that simply choose not to support SASL) to still authenticate to their account  prior to being introduced to the network.  That said, we also support using SASL. See the Using SASL guide for more information.

Should you still need assistance, stop by #Help on IRC.