From WikiChip
Difference between revisions of "mirc/on events/on nosound"
m (Bot: Fixing links) |
m (Bot: Fixing links) |
||
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. | 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. | ||
− | This event fills the ''' | + | This event fills the '''{{mIRC|$filename}}''' identifier with the file name of the attempted sound. |
== Synopsis == | == Synopsis == | ||
Line 25: | Line 25: | ||
* [[On mp3end - mIRC|ON MP3END]] | * [[On mp3end - mIRC|ON MP3END]] | ||
* [[On waveend - mIRC|ON WAVEEND]] | * [[On waveend - mIRC|ON WAVEEND]] | ||
− | * | + | * {{mIRC|$inmidi}} |
− | * | + | * {{mIRC|$insong}} |
− | * | + | * {{mIRC|$inwave}} |
− | * | + | * {{mIRC|$sound}} |
− | * | + | * {{mIRC|$vol}} |
* {{mIRC|/splay}} | * {{mIRC|/splay}} | ||
* {{mIRC|/vol}} | * {{mIRC|/vol}} |
Revision as of 20:11, 5 July 2014
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/09/96
See Also
mIRC on event list