View Single Post
  #24  
Old 09-04-2002, 06:44 PM
KuJi2002 KuJi2002 is offline
Banned
Join Date: Jul 2002
Location: NYC
Posts: 144
KuJi2002 is on a distinguished road
Send a message via AIM to KuJi2002 Send a message via Yahoo to KuJi2002
When i scripted about 1 1/2years ago i hated the Mp3/Mid players they had when u change the # into 1.mp3 or 1.mid so i made something better so u can just say play name.mid
then about a year ago i just fixed it up and now it doesnt cause that much lag It use to take about 3 minutes for it to play the song
i added tokenize to it and it sorta did it a lil quicker then i took out the flags and just did
if (startswith(play,#c)) {
tokenize #c;
if (strequals(#t(2),.mid)) {
play #t(1).mid
}
if (strequals(#t(2),.mp3)) {
play #t(1).mp3
}
}