ZNC » History » Revision 20
Revision 19 (Per Amundsen, 11/05/2019 08:34 AM) → Revision 20/21 (Per Amundsen, 11/05/2019 08:35 AM)
{{>toc}}
h1. ZNC
There are several ways to connect to a "IRC Bouncers":https://en.wikipedia.org/wiki/BNC_(software) such as "ZNC":http://wiki.znc.in/ZNC
h2. Connecting using the Server list
* Open the [[Serverlist Dialog|Serverlist]] by pressing the %(key)CTRL% + %(key)S% shortcut, or by typing [[/serverlist]] or by opening Server -> Serverlist in the Menubar.
!serverlist.png!
* Add a new network for ZNC by pressing the "Add new network button"
!addnetwork.png!
* Enter a name for the ZNC network, it can be anything you want, then press "Add".
!addnetwork2.png!
* Enter the ZNC login information
The first *Username* and *Password* fields should match the username and password provided by your ZNC provider.
Alternatively you can use *username:password* in the *Password* field and set the *Username* field to anything you want.
Set the Nick, Fullname and Alternative nicks to whatever you want.
!serverlist2.png!
* If you want AdiIRC to automatically connect to the ZNC network on startup, check the "Connect to this network on startup" checkbox
!autoconnect.png!
* Click the "Server" tab in the Serverlist.
!server.png!
* Click the "Add" button.
!addserver.png!
* Enter the hostname and port for your ZNC provider, e.g "znc.provider.org" and 31337.
!addserver3.png!
* If the ZNC provider requires TLS/SSL connection, click the "Enable SSL" checkbox.
!enablessl.png!
* All done, clisk the "General" tab in the Serverlist, then press the "Save" button, then either click "Connect" to connect to the ZNC network in the current open server window, or "Connect in a new window" to connect to the ZNC network in a new server window.
!serverlist3.png!
h2. Connecting by direct command
Check the [[/server]] wiki for a complete overview of command parameters. Two quick example:
# *Non SSL*:
<pre>/server -m you.znc.net:5708 -p login:password</pre>
# *SSL*:
<pre>/server -m you.znc.net:+5708 -p login:password</pre>
To connect using *SSL*, add *<notextile>+</notextile>* to port prefix or use the parameter *-ssl*.
Ps: for no specified parameters like nick (*-i*), username (*-u*), realname (*-r*), etc, *AdiIRC* will use the default values set in [[/quickconnect]].
h2. Connecting by script
<pre>on *:start: {
server you.znc.net:5708 -p login:password
}</pre>
h2. ZNC playback
Check the "XNC playback script":https://dev.adiirc.com/boards/5/topics/1338.