Project

General

Profile

ZNC » History » Version 20

Per Amundsen, 11/05/2019 08:35 AM

1 5 Mr. BS
{{>toc}}
2
3 1 Mr. BS
h1. ZNC
4
5 14 Per Amundsen
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
6 1 Mr. BS
7 14 Per Amundsen
h2. Connecting using the Server list
8 1 Mr. BS
9 18 Per Amundsen
* 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.
10 14 Per Amundsen
 
11
!serverlist.png!
12 1 Mr. BS
13 14 Per Amundsen
* Add a new network for ZNC by pressing the "Add new network button"
14 1 Mr. BS
15 14 Per Amundsen
!addnetwork.png!
16 1 Mr. BS
17 14 Per Amundsen
* Enter a name for the ZNC network, it can be anything you want, then press "Add".
18 1 Mr. BS
19 14 Per Amundsen
!addnetwork2.png!
20 1 Mr. BS
21 14 Per Amundsen
* Enter the ZNC login information
22 1 Mr. BS
23 19 Per Amundsen
The first *Username* and *Password* fields should match the username and password provided by your ZNC provider.
24
25
Alternatively you can use *username:password* in the *Password* field and set the *Username* field to anything you want.
26 1 Mr. BS
27 14 Per Amundsen
Set the Nick, Fullname and Alternative nicks to whatever you want.
28 1 Mr. BS
29 14 Per Amundsen
!serverlist2.png!
30 1 Mr. BS
31 14 Per Amundsen
* If you want AdiIRC to automatically connect to the ZNC network on startup, check the "Connect to this network on startup" checkbox
32 1 Mr. BS
33 14 Per Amundsen
!autoconnect.png!
34 8 Ken Spencer
35 14 Per Amundsen
* Click the "Server" tab in the Serverlist.
36 9 Ken Spencer
37 14 Per Amundsen
!server.png!
38 10 Ken Spencer
39 14 Per Amundsen
* Click the "Add" button.
40 9 Ken Spencer
41 14 Per Amundsen
!addserver.png!
42 12 Ken Spencer
43 14 Per Amundsen
* Enter the hostname and port for your ZNC provider, e.g "znc.provider.org" and 31337.
44 12 Ken Spencer
45 14 Per Amundsen
!addserver3.png!
46 9 Ken Spencer
47 14 Per Amundsen
* If the ZNC provider requires TLS/SSL connection, click the "Enable SSL" checkbox.
48
49
!enablessl.png!
50
51
* 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.
52
53 1 Mr. BS
h2. Connecting by direct command
54
55
Check the [[/server]] wiki for a complete overview of command parameters. Two quick example:
56
57 15 Mr. BS
# *Non SSL*:
58
<pre>/server -m you.znc.net:5708 -p login:password</pre>
59
# *SSL*:
60
<pre>/server -m you.znc.net:+5708 -p login:password</pre>
61 7 Mr. BS
62 1 Mr. BS
To connect using *SSL*, add *<notextile>+</notextile>* to port prefix or use the parameter *-ssl*.
63 7 Mr. BS
64 1 Mr. BS
Ps: for no specified parameters like nick (*-i*), username (*-u*), realname (*-r*), etc, *AdiIRC* will use the default values set in [[/quickconnect]].
65
66
h2. Connecting by script
67
68 6 Mr. BS
<pre>on *:start: {
69 1 Mr. BS
  server you.znc.net:5708 -p login:password
70
}</pre>
71 16 Per Amundsen
72
h2. ZNC playback
73
74
Check the "XNC playback script":https://dev.adiirc.com/boards/5/topics/1338.