
09-04-2002, 06:44 PM
|
Banned
|
Join Date: Jul 2002
Location: NYC
Posts: 144
|
|
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
}
} |
|
|