Topic 3-Event-Mode.md
Mode
This event is triggered when someone changed the channel's mode.
Function
function onMode(server, channel, nickname, mode, modeArg)
Parameters
- server, the current server.
- channel, the channel.
- nickname, the person who changed the mode.
- mode, the new mode.
- modeArg, the mode argument, if supported.