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

From ZNC
Revision as of 20:33, 10 November 2022 by MetaNova (talk | contribs) (Major update regarding server-time's support within irssi.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.