mIRC Homepage

mp3 player

Posted By: zGod

mp3 player - 08/12/05 08:32 PM

Hey, i have been using mIRC for a long time, but i am fairly new to programming with mIRC. Over the time, i have found many mp3 players for mIRC and have taken the opertunity to look at the source codes for them. They all seem to be quite different in the way they work and the majority fairly compex.

I am attempting to make my own, but i dont have the talents to make it on my own yet, so i would like to use one as sort of a make-shift template and tutorial. Could u recomend to me a mp3 player that is fairly straight-forward?

This is a scripting related question, moved to the Scripts & Popups forum.
Posted By: MikeChat

Re: mp3 player - 08/12/05 09:17 PM

Code:
very basic player

dialog MP3play {
title "MP3 Player"
size -1 -1 200 100
option dbu
list 100, 5 5 190 60
button "PLAY", 900, 75 75 50 25
}

on *:dialog:mp3play:init:0:{
var %null = $findfile($mp3dir,*.mp3,0,did -a mp3play 100 $nopath($1-))
}
on *:dialog:mp3play:sclick:900:{
splay $did(mp3play,100).seltext
}

more basic 
alias mp3 splay $sfile($mp3dir*.mp3)
Posted By: zGod

Re: mp3 player - 08/12/05 09:32 PM

cool thanks, that will work for now
© 2019 mIRC Discussion Forums