Documentazione mIRC

on songend

on songend

Indice

mIRC

Commands & Identifiers

Basics

Events

Matching Tools

Data Storage

Control Structures

GUI Scripting

Sockets

Advanced Scripting

Additional Resources

Security

Other

The ON songend event triggers whenever a file has finished playing via the /splay command.

This event fills the $filename identifier, which will be set to the complete location and filename of the sound file that just ended.

Contents

Synopsis

ON <level>:songend:<commands>

Parameters

  • - The level for the event to trigger.
  • - The commands to be performed when the event listener’s criteria is met.

Examples

Echo to the active window when the sound file has ended, including its filename:

ON *:songend:echo -a $nopath($filename) has ended

The example above will output results similar to the contents below:

Chopin - Four Scherzos.mp3 has ended

Compatibility

Added: mIRC v5.8
Added on: 05 Sep 2000

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

A on Action, on Active, on Agent, on Appactive B on Ban C 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 GetfailH 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 PongQ 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 UsermodeV on Vcmd, on Voice W on Wallops, on Waveend