From WikiChip
Difference between revisions of "mirc/on events/on nosound"
m (Bot: Fixing links) |
m (Bot: adding missing title) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|On Nosound - Events}} | ||
The '''ON NOSOUND''' event triggers when a remote user attempts to send a [[/sound command - mIRC|sound request]] and the file does not exist on the local mIRC system. | The '''ON NOSOUND''' event triggers when a remote user attempts to send a [[/sound command - mIRC|sound request]] and the file does not exist on the local mIRC system. | ||
Line 16: | Line 17: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|4.6}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
Line 34: | Line 33: | ||
{{mIRC on event list}} | {{mIRC on event list}} | ||
− | [[Category: | + | [[Category:mIRC on events|nosound]] |
Revision as of 20:20, 15 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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 level 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
mIRC on event list