The LoC connection allows a prefix which operates like a mode, to set connection behaviour:
! --> do not connect to the server if LoC fails (ie. X is split from the network)
x --> set usermode +x to hide client hostname
The above modes can be set and unset using +/- just as with normal user and channel modes. Different examples are noted below.
Only connect when X is online and hide my IP: +x! [username] [password]
/server irc.undernet.org 6667 +x! myuser [email protected]
When this login command is used, you'll only be connected to Undernet if X is online and authentication is successful.
Your hostname will be hidden as usermode +x will automatically be set during the server connection.
This is the safest connection option to guarantee authentication and host hiding.
Connect anytime and authenticate if possible, but do not hide my IP address: -x! [username] [password]
/server irc.undernet.org 6667 -x! myuser [email protected]
This login parameter will allow you to connect to Undernet, even if X is offline.
If X is online, you'll be logged into your username, but mode +x won't be set on you - which means your IP address will be visible to everyone.
If X is offline, you'll still be able to connect to the network.
Make sure I'm always connected, even if X is offline. Attempt usermode +x only if possible: -!+x [username] [password]
/server irc.undernet.org 6667 -!+x myuser [email protected]
With this login parameter, you'll always be connected to Undernet, even if X is offline.
If X is online, you'll be logged into your username and have mode +x set - hiding your IP address from other users before you're on the network.
If X is offline, you'll still connect to the server but without authentication.