To create new wiki account, please join us on #znc at freenode and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Difference between revisions of "Irssi"

From ZNC
Jump to navigation Jump to search
(Include dispatch.pl since irssi does not like '/znc')
m
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
== Connecting to ZNC ==
 +
=== SSL ===
  
  /set user_name myusername
+
  /network add freenode-znc
Or to connect to a specific network you have setup add /networkname for instance
+
/server add -network freenode-znc -auto -tls my.bouncer.net 6697 username/freenode:password
  /set user_name myusername/freenode
+
  /save
 +
/connect freenode-znc
  
Now connect and supply the password
+
=== Non SSL ===
/connect znc.example.com 1234 password
 
  
It doesn't matter what you put for nickname as the server will readjust to what the network is set to.
+
/network add freenode-znc
 +
/server add -network freenode-znc -auto my.bouncer.net 6667 username/freenode:password
 +
/save
 +
/connect freenode-znc
  
Note: irssi does not like "/znc", so you will need [http://scripts.irssi.org/scripts/dispatch.pl dispatch.pl] for it work. (This can be put in ~/.irssi/scripts/autorun)
+
=== Timestamps ===
 +
 
 +
irssi does not support the server-time capability yet, so buffer playback may look ugly. There's a script you can run to get basic server-time support in irssi however, see [[Timestamps#irssi]].
 +
 
 +
== Notes ==
 +
 
 +
Irssi does not send unknown commands to irc server or znc so you will get an unknown command error when you try to use the <code>/znc</code> alias. If you want <code>/znc</code> to work you need to enter <code>/alias znc msg *status</code>.
 +
 
 +
Or, you can download [http://scripts.irssi.org/scripts/dispatch.pl dispatch.pl] placing the script in <code>~/.irssi/scripts/autorun</code> and typing <code>/script load autorun/dispatch</code>. You will only need to enter the command once as irssi will automatically load the script next time irssi is started.
 +
 
 +
Irssi by default will create new channel windows each time znc reconnects to the irc network. After you join all your channels you can enter <code>/layout save</code> to have irssi reuse channel windows instead of creating new windows.
  
 
[[Category:Clients]]
 
[[Category:Clients]]

Latest revision as of 22:37, 5 August 2019

Connecting to ZNC[edit]

SSL[edit]

/network add freenode-znc
/server add -network freenode-znc -auto -tls my.bouncer.net 6697 username/freenode:password
/save
/connect freenode-znc

Non SSL[edit]

/network add freenode-znc 
/server add -network freenode-znc -auto my.bouncer.net 6667 username/freenode:password
/save
/connect freenode-znc

Timestamps[edit]

irssi does not support the server-time capability yet, so buffer playback may look ugly. There's a script you can run to get basic server-time support in irssi however, see Timestamps#irssi.

Notes[edit]

Irssi does not send unknown commands to irc server or znc so you will get an unknown command error when you try to use the /znc alias. If you want /znc to work you need to enter /alias znc msg *status.

Or, you can download dispatch.pl placing the script in ~/.irssi/scripts/autorun and typing /script load autorun/dispatch. You will only need to enter the command once as irssi will automatically load the script next time irssi is started.

Irssi by default will create new channel windows each time znc reconnects to the irc network. After you join all your channels you can enter /layout save to have irssi reuse channel windows instead of creating new windows.