Ghost-lit Warder commented on a Page, Mp3 V1.0  -  Aug 12, 2007

Try:
menu channel,menubar,status {
.Mp3:{ set %mp3files %MP3directory $+ .
set %mp3.file $$sfile(%MP3Dir,Choose What File To Play)
splay -p %mp3.file | msg $active 4,1.::: 14,1Mp3 Player4:14,1 $remove($nopath($insong.fname),.mp3,.wma,.mpeg,.wmv) 4,1:14,1 $gmt($calc($insong.length / 1000),nn:ss) 4,1:::.
}
}

menu status,channel,menubar {
.Control Mp3 Dir:Dir
}
alias Dir { .set %MP3dir $sdir(C:\,Choose Directory) }

  • Made the second menu and alias on seperate lines and fixed the \'$remove Invalid format\' error.
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.