mIRC Home    About    Download    Register    News    Help

Print Thread
Dialog help, again #35256 10/07/03 12:22 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
Code:
 
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
Re: Dialog help, again #35257 10/07/03 12:30 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
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
Re: Dialog help, again #35258 10/07/03 12:34 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
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
Re: Dialog help, again #35259 10/07/03 12:36 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
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
Re: Dialog help, again #35260 10/07/03 12:38 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
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
Re: Dialog help, again #35261 10/07/03 12:43 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
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
Re: Dialog help, again #35262 10/07/03 12:44 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
The pepsi works, grin i betta get 1, thanx KT
hmm well pepsi doesnt work when u spill it on yer keyboars mad

Last edited by andymps; 10/07/03 12:48 AM.

Liek OMG Yuo Stoleded my MageHurtzzzz!!!11