I        A channel close event will run when the channel is closing, i.e.:

  • When the channel is set to auto-close and the master is leaving or disconnecting, causing the channel to auto-close.
  • When the channel is set to not auto-close, but the last client has left, causing the channel to be closed.
  • When either of the two scenarios above have happened due to the server running a "Channel > Kick client from channel by client XXX" action, or by running a Client > Disconnect action on the peer.
  • When the server has closed the channel using a Channel > Close channel action.


When this event runs, the channel is read-only.

This event is the last chance to read the channel's details, e.g. reading the peer list using a peer loop, and reading local channel data using the Channel > Get local channel data expression.

You can also still set local channel data, but all the channel's local data will be discarded after the close event finishes, so there's not much point.

You cannot send/blast channel messages during this event.

If the channel was closed by a leaving peer, then the peer list includes the leaving peer during a channel close event. The channel master is still selectable as well.


This event is not affected by the Enable/Disable conditions > On channel leave request mode.

As it only can run once per channel, and channels won't be frequently created/destroyed, this event shouldn't have a significant enough performance impact.