Why didn't the two regular expession answers in the previous post not work?? They both work for me, Ill put the one not made by me (its slightl'y smaller) here.

Code:
alias mp3.play {  
  if ($dialog(topbar)) {
    if (!%mp3.songnum) { set %mp3.songnum 1 }
    var %songname $read($mircdirmp3\mp3list.txt, %songnum)
    if ($regex(file,%songname,/"(.+\.\w+)/)) {
      splay -p $+(",$regml(file,1),")
      startmp3
    }
    else echo -a Error Song not found in line %songnum
  }
}


Edit: Fixed so mIRC will play files with spaces correctly

Last edited by Man; 12/12/03 05:01 AM.