From WikiChip
Difference between revisions of "mirc/on events/on nosound"
< mirc‎ | on events

m (Bot: Adding a template (template:mIRC on event list))
m (Parameters: Link access levels)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
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.
+
{{mirc title|On Nosound - Events}}
 +
The '''ON NOSOUND''' event triggers when a remote user attempts to send a {{mIRC|/sound}} request and the file does not exist on the local mIRC system.
  
This event fills the '''[[$filename identifier - mIRC|$filename]]''' identifier with the file name of the attempted sound.
+
This event fills the '''{{mIRC|$filename}}''' identifier with the file name of the attempted sound.
  
 
== Synopsis ==
 
== Synopsis ==
Line 7: Line 8:
  
 
== Parameters ==
 
== Parameters ==
<span style="display: inline-block; width: 105px;">'''<level>'''</span>The level for the event to trigger.
+
<span style="display: inline-block; width: 105px;">'''<level>'''</span>The corresponding {{mIRC|access levels}} for the event to trigger.
  
 
<span style="display: inline-block; width: 105px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met.
 
<span style="display: inline-block; width: 105px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met.
Line 16: Line 17:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v4.6
+
{{mIRC compatibility|4.6}}
 
 
Added On: 07/09/96
 
  
 
== See Also ==
 
== See Also ==
Line 25: Line 24:
 
* [[On mp3end - mIRC|ON MP3END]]
 
* [[On mp3end - mIRC|ON MP3END]]
 
* [[On waveend - mIRC|ON WAVEEND]]
 
* [[On waveend - mIRC|ON WAVEEND]]
* [[$inmidi identifier - mIRC|$inmidi]]
+
* {{mIRC|$inmidi}}
* [[$insong identifier - mIRC|$insong]]
+
* {{mIRC|$insong}}
* [[$inwave identifier - mIRC|$inwave]]
+
* {{mIRC|$inwave}}
* [[$sound identifier - mIRC|$sound]]
+
* {{mIRC|$sound}}
* [[$vol identifier - mIRC|$vol]]
+
* {{mIRC|$vol}}
* [[/splay command - mIRC|/splay]]
+
* {{mIRC|/splay}}
* [[/vol command - mIRC|/vol]]
+
* {{mIRC|/vol}}
 
{{mIRC on event list}}
 
{{mIRC on event list}}
  
[[Category:MIRC on events]]
+
[[Category:mIRC on events|nosound]]

Latest revision as of 06:52, 6 February 2024

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[edit]

ON <level>:NOSOUND:<commands>

Parameters[edit]

<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[edit]

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

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

Compatibility[edit]

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[edit]