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.

Playback and Irssi: Difference between pages

From ZNC
(Difference between pages)
Jump to navigation Jump to search
>Jpnurmi
 
m Reverted edits by MetaNova (talk) to last revision by Johncs
Tag: Rollback
 
Line 1: Line 1:
<!--{{External Module}}-->
== Connecting to ZNC ==
{{ambox | type = delete | text = '''This external module is a work in progress.'''<br/><small>Please note that it requires the latest development version of ZNC.<br/>Contact the author if you have any questions, but feel free to ask on IRC, someone might able to help you there, too.</small>}}
=== SSL ===


The advanced playback module makes it possible for IRC clients to avoid undesired repetitive buffer playback. IRC clients may request the module to send a partial buffer playback starting from a certain point of time.
/network add freenode
/server add -net freenode -auto -ssl my.bouncer.net 6697 username/freenode:password
/save
/connect freenode


The source code and more detailed documentation is available on [https://github.com/jpnurmi/znc-playback GitHub]. See also instructions for [[compiling modules]].
=== Non SSL ===


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


{{Module arguments|no}}
=== Timestamps ===


=== Commands ===
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]].
Play matching buffers:
/msg *playback PLAY <buffer(s)> [from] [to]


Clear matching buffers:
== Notes ==
/msg *playback CLEAR <buffer(s)>


List available/matching buffers:
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>.
/msg *playback LIST [buffer(s)]


== Supported clients ==
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.


* [http://textualapp.com Textual IRC client] (Mac OS X)
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.
* [https://github.com/communi/communi-desktop Communi for desktop] (Mac OS X, Linux, Windows)
* [https://github.com/communi/communi-sailfish Communi for SailfishOS]


== Open feature requests ==
[[Category:Clients]]
* [http://hexchat.github.io HexChat] (https://github.com/hexchat/hexchat/issues/1109)
* [https://play.google.com/store/apps/details?id=com.fusionx.lightirc&hl=en HoloIRC] (https://github.com/tilal6991/HoloIRC/issues/92)
 
[[Category:Modules]]
[[Category:External Modules]]

Revision as of 23:35, 30 July 2019

Connecting to ZNC

SSL

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

Non SSL

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

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 /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.