The ON SNOTICE event triggers when mIRC receives a server notice.
This event fills the $1- identifier with the text from the server notice.
Synopsis
ON <level>:SNOTICE:<matchtext>:<commands>
Parameters
<level>The level for the event to trigger.
<matchtext>The text that to be matched. Can also be a wildcard.
<commands>The commands to be performed when the event listener's criteria is met.
Example
Halt the default server notice and echo it to the active window in plain text:
ON ^*:SNOTICE:*: {
echo -a * Server notice: $1-
haltdef
}
Compatibility
Added: mIRC v3.8
See Also
v · d · e mIRC on event list
A
on Action, on Active, on Agent, on Appactive
B
on Ban
C
on Char, 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 Midiend, on Mode, on Mp3end
N
on Nick, on Nosound, on Notice, on Notify
O
on Op, on Open, on Owner
P
on Parseline, 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
|