From WikiChip
On Nosound - Events - mIRC
< mirc‎ | on events
Revision as of 06:52, 6 February 2024 by KindOne (talk | contribs) (Parameters: Link access levels)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The ON NOSOUND event triggers when a remote user attempts to send a /sound request and the file does not exist on the local mIRC system.

This event fills the $filename identifier with the file name of the attempted sound.

Synopsis

ON <level>:NOSOUND:<commands>

Parameters

<level>The corresponding access levels for the event to trigger.

<commands>The commands to be performed when the event listener's criteria is met.

Example

Send a message to the user when sound file does not exist:

ON *:NOSOUND:msg $nick Unfortunately, I do not have: $filename

Compatibility

Added: mIRC v4.6
Added on: 07 Sep 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also