Quote:
Just to clarify the point with /splay, while it is used commonly in audio players and other non-irc related scripts, it was infact implemented for irc-related reasons.


How do you know this?
After a quick browse through versions.txt I'm more inclined to believe that /splay was implemented for general purpose sound playing, rather than just IRC-related events.

Before /splay was implemented there was a /wavplay (maybe /playwav) command which only played .wav files, then /splay was added so you could play both .wav and .mid, a couple of versions later mp3 support was added to it along with the on mp3end event and the $mp3() identifier.