Code:
on *:JOIN:#channelnamehere: {
  var %i = 0
  while ((%i < 3) && (%i < $len($nick))) {
    if ($mid($nick,%i,1) isalpha) { splay $+(",folder of the wav files,$v1,.wav") | inc %i }
  }
}


This script works very good; with this script mIRC reads the joining user's nicknames. But how should I change the script, if I wanted to add another sound on join? Example: User "Tester" joins "Testchannel". mIRC should now play the wav file testchannel.wav, and after this tell me the user's nickname letter by letter.

If I put another line to my remotes.ini (on !*:join:#testchannel:/splay testchannel.wav), the above script doesn't work anymore. Why?

And how can I accellerate the reading speed? The script starts one wav file per second, but the wav files are shorter than a second...