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.

Clientaway: Difference between revisions

From ZNC
Jump to navigation Jump to search
Kylef (talk | contribs)
Created page with "{{External Module}} The clientaway module allows clients to go "away" independently. If all your connected clients are away, then we will store our buffers until another clie..."
 
Kylef (talk | contribs)
re-phrase
Line 1: Line 1:
{{External Module}}
{{External Module}}


The clientaway module allows clients to go "away" independently. If all your connected clients are away, then we will store our buffers until another client connects or a client comes back online from being away.
Buffers are stored if all your clients are disconnected, or marked as away. This module allows you to send an /away to ZNC marking the client as away. While all your clients are away or disconnected, ZNC will store buffers. These buffers include any channel buffer with AutoClearChanBuffer and private message buffers.
 
This module has a secondary use, which is auto away. Auto away allows the module to forward your /away to the real server once all clients are away, or all clients are disconnected. If a single client doesn't have the away set, you are not away. Without auto away enabled,  any /away sent to the ZNC server will not be forwarded to your IRC server.


This module can be used as a solution for [[FAQ#How_to_store_private_messages_even_when_user_is_attached.2C_so_other_clients_can_see_them.3F]] by setting the client as /away.
This module can be used as a solution for [[FAQ#How_to_store_private_messages_even_when_user_is_attached.2C_so_other_clients_can_see_them.3F]] by setting the client as /away.
clientaway can be configured to "autoaway" you. This means it will send "away" to the server if all the clients disconnect or go /away. This will unaway you when a client comes back.


The source will only work with the latest version of ZNC from git and can be found https://raw.github.com/kylef/znc-contrib/master/clientaway.cpp
The source will only work with the latest version of ZNC from git and can be found https://raw.github.com/kylef/znc-contrib/master/clientaway.cpp

Revision as of 13:51, 14 March 2013

Buffers are stored if all your clients are disconnected, or marked as away. This module allows you to send an /away to ZNC marking the client as away. While all your clients are away or disconnected, ZNC will store buffers. These buffers include any channel buffer with AutoClearChanBuffer and private message buffers.

This module has a secondary use, which is auto away. Auto away allows the module to forward your /away to the real server once all clients are away, or all clients are disconnected. If a single client doesn't have the away set, you are not away. Without auto away enabled, any /away sent to the ZNC server will not be forwarded to your IRC server.

This module can be used as a solution for FAQ#How_to_store_private_messages_even_when_user_is_attached.2C_so_other_clients_can_see_them.3F by setting the client as /away.

The source will only work with the latest version of ZNC from git and can be found https://raw.github.com/kylef/znc-contrib/master/clientaway.cpp