Is client ID joined to channel name?
N This condition can be used to check if a client with the given ID exists is on the given channel.
It takes two parameters:
- The client ID (0 to 65534, inclusive).
If you want to use the currently selected client, use the Is client name X joined to channel Y? condition instead. - The channel name, or "" to use the currently selected channel.
This will create an error if the passed client ID is invalid (-1 or less, 65535 or more), or does not exist. It will also create an error if the passed channel name does not exist.
A channel can still exist with no clients on it, if it is manually created by the Channel > Create channel with master selected by name / by ID actions, but "" or -1 is passed for the master name/ID.
This condition does not change the currently selected client or channel.
During events
During a Channel > On join request, this condition will consider the client on the channel if it has already joined when the condition is called, due to an auto-approve mode. In other modes, it will be considered not on the channel.
During a Channel > On leave request event, this condition will consider the client not on the channel if set to auto-approve mode, as the client has already been approved to leave when the condition is called.
If set to auto-deny or "wait for Fusion" mode, the leaving client will still be considered on the channel by this condition.
During a Channel > On channel close event, this condition will consider the client on the channel, unless the channel is closing due the client disconnecting (where the client ID would not be found on the server).