mIRC Home    About    Download    Register    News    Help

Print Thread
mp3 player #137162 08/12/05 08:32 PM
Joined: Feb 2005
Posts: 8
Z
zGod Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Z
Joined: Feb 2005
Posts: 8
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.

Last edited by Mentality; 08/12/05 09:07 PM.

Kalsiddon.com - games, videos, music & more
perfect for wen u need a break @ work or school ;-)
Re: mp3 player #137163 08/12/05 09:17 PM
Joined: Dec 2002
Posts: 1,245
M
MikeChat Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
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)

Re: mp3 player #137164 08/12/05 09:32 PM
Joined: Feb 2005
Posts: 8
Z
zGod Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Z
Joined: Feb 2005
Posts: 8
cool thanks, that will work for now


Kalsiddon.com - games, videos, music & more
perfect for wen u need a break @ work or school ;-)