On-Client-connect/disconnect commands #134

Open
opened 2026-10-05 04:00:44 +02:00 by adam · 4 comments
Owner

It'd be lovely if there was a way to have ZNC perform commands when a Client connects to an account and when all clients disconnect from one Account. Some things that this could be used for are:

  • Disconnecting from channels that don't allow/like bouncers
  • Keeping channels used only once or twice and thus not worthy of being saved out of the config

I know it might seem frivolous and useless, but I've seen the first example be a problem in some channels. Having the bouncer part a channel but stay attached to the rest would be quite helpful.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/652-on-client-connect-disconnect-commands?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
It'd be lovely if there was a way to have ZNC perform commands when a Client connects to an account and when all clients disconnect from one Account. Some things that this could be used for are: - Disconnecting from channels that don't allow/like bouncers - Keeping channels used only once or twice and thus not worthy of being saved out of the config I know it might seem frivolous and useless, but I've seen the first example be a problem in some channels. Having the bouncer part a channel but stay attached to the rest would be quite helpful. ## <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/652-on-client-connect-disconnect-commands?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:6028394 -->
Author
Owner

What is Support queue?

What is Support queue? <!-- github-comment-id:7500679 -->
Author
Owner

It was something I used as an example of something people might have to Log out of if they are idling. It probably isn't the best example, though.

It was something I used as an example of something people might have to Log out of if they are idling. It probably isn't the best example, though. <!-- github-comment-id:7502779 -->
Author
Owner

👍

:+1: <!-- github-comment-id:70030551 -->
Author
Owner

It was something I used as an example of something people might have to Log out of if they are idling. It probably isn't the best example, though.

Some IRCds also have usermode +h (oper is available for help) and setting/unsetting it automatically might be a good example.

> It was something I used as an example of something people might have to Log out of if they are idling. It probably isn't the best example, though. Some IRCds also have usermode `+h` (oper is available for help) and setting/unsetting it automatically might be a good example. <!-- github-comment-id:70038025 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#134