Event: onMode

This event is triggered when the server changed your mode.

Synopsis

function onMode(server, origin, mode)

Arguments

  • server: the current server,
  • origin: the person who changed the mode,
  • mode: the new mode.