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

Irssi: Difference between revisions

From ZNC
Jump to navigation Jump to search
mNo edit summary
Major update regarding server-time's support within irssi.
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
=== SSL ===
=== SSL ===


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


=== Non SSL ===
=== Non SSL ===


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


=== Timestamps ===
=== 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]].
Server-time has been supported in irssi since 1.3, but by default the variable which controls its display ('''show_server_time''') is '''OFF'''. See [https://irssi.org/documentation/settings/#show-server-time the official documentation].  To enable it:
 
<code>/set show_server_time ON</code>
 
Prior to irssi v1.3, the server-time capability was not supported, so buffer playback may have been ugly, resulting in the need for a script; see [[Timestamps#irssi]].''
 
<!-- Credit goes to kryten in #znc for pointing this out -->


== Notes ==
== Notes ==

Latest revision as of 20:33, 10 November 2022

Connecting to ZNC

SSL

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

Non SSL

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

Timestamps

Server-time has been supported in irssi since 1.3, but by default the variable which controls its display (show_server_time) is OFF. See the official documentation. To enable it:

/set show_server_time ON

Prior to irssi v1.3, the server-time capability was not supported, so buffer playback may have been ugly, resulting in the need for a script; 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 /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.