Event: onPart

This event is triggered when someone has left a specific channel.

Synopsis

function onPart(server, origin, channel, reason)

Arguments

  • server: the current server,
  • origin: the person who left the channel,
  • channel: the channel,
  • reason: an optional reason.