|
Joined: Apr 2003
Posts: 300
Fjord artisan
|
OP
Fjord artisan
Joined: Apr 2003
Posts: 300 |
dialog Mp3_dialog {
size -1 -1 298 415
title "Andys Mp3s"
list 1,21 21 252 234,vsbar size
button "Play",2,31 314 60 30
button "Stop",3,112 314 60 30
box "Mp3 Dir",4,31 268 235 35
button "Change Dir",5,191 315 60 30
text "",6,36 282 28 13
button "Shuffle",7,112 364 60 30
}
on *:DIALOG:Mp3_dialog:sclick:7: {
/timerdialo 1 1 did -c Mp3_dialog 1 $nopath($insong.fname)
return $findfile(%mp3dir,*.mp3,1,.splay $1-)
}
that should randomis in the dialog, but it doesnt, 1 it doesnt random the mp3, 2. it doesnt select from the list the mp3 thats playing? anyone help ?
Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
I think you mean this...
on *:DIALOG:Mp3_dialog:sclick:7: { /timerdialo 1 1 did -c Mp3_dialog $1 $rand(1,$did(1).lines) }
-KingTomato
|
|
|
|
Joined: Apr 2003
Posts: 300
Fjord artisan
|
OP
Fjord artisan
Joined: Apr 2003
Posts: 300 |
ok did that and, * Timer dialo activated - * /did: 'Mp3_Dialog' invalid id '39' - * Timer dialo halted - and it didnt play anythin
Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
oops
on *:DIALOG:Mp3_dialog:sclick:7: { /did -c Mp3_dialog $1 $rand(1,$did(1).lines) /splay $findfile(%mp3dir, $+(*,$did(1).seltext), 1, 1) }
-KingTomato
|
|
|
|
Joined: Apr 2003
Posts: 300
Fjord artisan
|
OP
Fjord artisan
Joined: Apr 2003
Posts: 300 |
* /did: 'Mp3_Dialog' invalid id '39' (line 28, mp3.txt) - i get that now
Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
bah, i think i need another pepsi. My mind going to sleep on me--same error again..
on *:DIALOG:Mp3_dialog:sclick:7: { /did -c Mp3_dialog 1 $rand(1,$did(1).lines) /splay $findfile(%mp3dir, $+(*,$did(1).seltext), 1, 1) }
-KingTomato
|
|
|
|
Joined: Apr 2003
Posts: 300
Fjord artisan
|
OP
Fjord artisan
Joined: Apr 2003
Posts: 300 |
The pepsi works, i betta get 1, thanx KT hmm well pepsi doesnt work when u spill it on yer keyboars
Last edited by andymps; 10/07/03 12:48 AM.
Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
|
|
|
|
|