|
Joined: Dec 2002
Posts: 295
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 295 |
Hi, i`m back.
Ok i would like to write a script that displays the current Winamp song in the Topic of my channel, i aint got a clue how i would go about doing this, i have tried various mIRC related winamp displaying scripts, but they dont work properly.
Can anybody point me in the right direction ? maybe i have to use a dll ? i dunno
Thanks ShadowDemon
Never argue with an idiot...they'll drag you down to their level and beat you up with experience
|
|
|
|
Joined: Dec 2002
Posts: 111
Vogon poet
|
Vogon poet
Joined: Dec 2002
Posts: 111 |
Yeah, you'd need a DLL for that. I believe www.mircscripts.org has the one you're looking for in their DLL section.
Experience The Void.. Are You Ready?
|
|
|
|
Joined: Dec 2002
Posts: 295
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 295 |
Thanks Frog I`ll go check out that site now, i must a missed it, been browsing their site too, just the other day ShadowDemon
Never argue with an idiot...they'll drag you down to their level and beat you up with experience
|
|
|
|
Joined: Dec 2002
Posts: 111
Vogon poet
|
Vogon poet
Joined: Dec 2002
Posts: 111 |
No problem. If you dont find it, post a message on the webboards there, someone will tell you.
Experience The Void.. Are You Ready?
|
|
|
|
Joined: Dec 2002
Posts: 295
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 295 |
OK
Never argue with an idiot...they'll drag you down to their level and beat you up with experience
|
|
|
|
Joined: Dec 2002
Posts: 266
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 266 |
What you are looking for is either winamp.dll or swamp.dll, I am still trying to locate them, but a google search should prove results :-)
You won't like it when I get angry.
|
|
|
|
Joined: Dec 2002
Posts: 66
Babel fish
|
Babel fish
Joined: Dec 2002
Posts: 66 |
What winamp version do you have? If you're not on 3.x I have DLLs to do it on my site, and if you can't find them I can make you one (They're not hard) just ask.
|
|
|
|
Joined: Dec 2002
Posts: 295
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 295 |
Hi Grimz, i`m using Winamp V2.81 and mIRC V6.03
ShadowDemon
Never argue with an idiot...they'll drag you down to their level and beat you up with experience
|
|
|
|
Joined: Dec 2002
Posts: 295
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 295 |
Hi Zack I found WA_Link also have Winamp Control Plugin for mIRC - Version 1.01 which i cant seem to get to work. Will search for the winamp.dll and swamp.dll Thanks ShadowDemon
Never argue with an idiot...they'll drag you down to their level and beat you up with experience
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
swamp.dllswamp-help.txtPlace the dll in your mirc folder and use $dll(swamp.dll,WinAmpGet,TRACKFILENAME) to retrieve the filename. you can then use the $sound() identifier to get more info on the file (see /help $sound).
|
|
|
|
Joined: Dec 2002
Posts: 295
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 295 |
Thanks Online
i`ll have a go with swamp, is it possible to make a dialog box with a button that when clicked upon, fetches the required info from Winamp and swamp and then changes the topic ?
Thanks ShadowDemon
Never argue with an idiot...they'll drag you down to their level and beat you up with experience
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
yeah... on *:dialog:name:sclick:button-id:{
if ($dll(swamp.dll,WinAmpGet,TRACKFILENAME) != $!null) {
topic #chan $ifmatch
}
} use $nopath($ifmatch) if you want to display only file-name without its path.
|
|
|
|
Joined: Dec 2002
Posts: 295
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 295 |
Thanks Online, works great, i used the $nopath, but i just thought of sumthing, how would i get it to say in the topic Winamp now playing - songnamegoeshere Also how would i script it to check if winamp was running or not and display a message saying if it wasnt ? Anyways Thanks ShadowDemon
Never argue with an idiot...they'll drag you down to their level and beat you up with experience
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
If song name is $!null, then consider it as winamp isn't running... on *:dialog:name:sclick:button-id:{
if ($dll(swamp.dll,WinAmpGet,TRACKFILENAME) != $!null) {
topic #chan Winamp now playing - $nopath($ifmatch)
}
else {
!.echo -q $input(Nothing is being played,o)
}
}
|
|
|
|
Joined: Dec 2002
Posts: 295
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 295 |
Thanks Online, hehe works great, this is my first time with messing with a dll or whatever, now just have to play with the dialog box and um err thats it.
Thanks ShadowDemon
Never argue with an idiot...they'll drag you down to their level and beat you up with experience
|
|
|
|
|