Added in 2.3

/leave [-k] [#channel] [message]

Leaves a channel with an optional part message.

If no channel is defined, current one will be used.

Same as /part.

Switches

Switch Description
-k Keeps the channel window open after parting. (AdiIRC only)

Parameters

Parameter Description
[#channel] Channel to part.
[message] Part message.

Examples

;Part current channel with part message "See you later!".
/leave See you later!

;Part #channel with part message "See you later!".
/leave #channel See you later!