mIRC Home    About    Download    Register    News    Help

Print Thread
Display winamp song in a title #749 09/12/02 11:43 PM
Joined: Dec 2002
Posts: 295
S
shadowdemon Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
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
Re: Display winamp song in a title #750 09/12/02 11:47 PM
Joined: Dec 2002
Posts: 111
F
Frog Offline
Vogon poet
Offline
Vogon poet
F
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?
Re: Display winamp song in a title #751 10/12/02 12:06 AM
Joined: Dec 2002
Posts: 295
S
shadowdemon Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
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 blush

ShadowDemon


Never argue with an idiot...they'll drag you down to their level and beat you up with experience
Re: Display winamp song in a title #752 10/12/02 12:12 AM
Joined: Dec 2002
Posts: 111
F
Frog Offline
Vogon poet
Offline
Vogon poet
F
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?
Re: Display winamp song in a title #753 10/12/02 12:24 AM
Joined: Dec 2002
Posts: 295
S
shadowdemon Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 295
OK laugh


Never argue with an idiot...they'll drag you down to their level and beat you up with experience
Re: Display winamp song in a title #754 10/12/02 12:37 AM
Joined: Dec 2002
Posts: 266
Z
zack Offline
Fjord artisan
Offline
Fjord artisan
Z
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.
Re: Display winamp song in a title #755 10/12/02 08:26 AM
Joined: Dec 2002
Posts: 66
GrimZ Offline
Babel fish
Offline
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.


- Linux System Administrator, Darktides Communications, LLC.
Re: Display winamp song in a title #756 10/12/02 12:33 PM
Joined: Dec 2002
Posts: 295
S
shadowdemon Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
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
Re: Display winamp song in a title #757 10/12/02 12:39 PM
Joined: Dec 2002
Posts: 295
S
shadowdemon Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
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. frown

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
Re: Display winamp song in a title #758 10/12/02 10:48 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
swamp.dll
swamp-help.txt

Place 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).

Re: Display winamp song in a title #759 11/12/02 12:19 AM
Joined: Dec 2002
Posts: 295
S
shadowdemon Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
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
Re: Display winamp song in a title #760 11/12/02 12:43 AM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
yeah...
Code:
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.

Re: Display winamp song in a title #761 11/12/02 12:58 AM
Joined: Dec 2002
Posts: 295
S
shadowdemon Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
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 ? confused

Anyways Thanks
ShadowDemon


Never argue with an idiot...they'll drag you down to their level and beat you up with experience
Re: Display winamp song in a title #762 11/12/02 01:18 AM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
If song name is $!null, then consider it as winamp isn't running...
Code:
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)
  }
}

Re: Display winamp song in a title #763 11/12/02 10:07 PM
Joined: Dec 2002
Posts: 295
S
shadowdemon Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
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