on servermode
Indice
The ON SERVERMODE event triggers when a server changes channel modes on a channel.
This event fills the $chan, and $1- identifiers with details relative to this event.
| Identifier | Description |
|---|---|
| $chan | The channel where modes were changed. |
| $1- | The new channel modes. |
| Contents - 1 Synopsis - 2 Parameters - 3 Example - 4 Compatibility - 5 See Also |
Synopsis
ON <level>:SERVERMODE:<#[,#]>:<commands>
Parameters
**
**<#[,#]>**The channel, or channels, to match the event listener. Can also be a wildcard”).
| Target | Description |
|---|---|
| # | Can remain #, to target all channels, or be a specific channel name. |
| [,#] | Can add multiple channels to target beyond the initial specified channel name. |
**
Example
Notice the channel when the server changes channel modes, and the local mIRC client is a channel operator:
ON @*:SERVERMODE:#:notice # $nick has modified the channel modes to: $1-
It is important to note that sending a channel notice to everyone at once is generally frowned upon unless one is an operator on the channel, or a bot has been instructed to do so.
Compatibility
Added: mIRC v3.5
Added on: 08/07/1995
Note: Individual switches were not taken into consideration.
See Also
mIRC on event list
| A on Action, on Active, on Agent”), on Appactive B on Ban C on Chat, on Chatclose”), on Chatopen”), on Close, on Connect, on Connectfail, on Ctcpreply D on Dccserver, on Dehelp, on Deop, on Deowner, on Devoice, on Dialog, on Disconnect, on Dns E on Error, on Exit F on Filercvd, on Filesent G on Getfail | H on Help, on Hotlink I on Input, on Invite J on Join K on Keydown, on Keyup, on Kick L on Load, on Logon M on Me”), on Midiend, on Mode, on Mp3end N on Nick, on Nosound, on Notice, on Notify O on Op, on Open, on Owner P on Part, on Ping, on Playend, on Pong | Q on Queryclose”), on Queryopen”), on Quit R on Rawmode S on Sendfail, on Serv, on Servclose”), on Servermode, on Serverop, on Servopen”), on Signal”), on Snotice, on Sockclose”), on Socklisten, on Sockopen, on Sockread, on Sockwrite, on Start T on Text, on Topic U on Udpread, on Udpwrite, on Unban, on Unload, on Unotify, on Usermode | V on Vcmd, on Voice W on Wallops, on Waveend |