mIRC Home    About    Download    Register    News    Help

Print Thread
#138112 24/12/05 08:02 AM
K
KidSol
KidSol
K
Is there any script that ppl use in irc to trigger the winamp?

Like !playlist, the bot will pm a copy of list to the ppl and.
if the ppl would like to hear the song, they'll triger like !play < song name >

Is there any kind of script like this?

Thx

N
NeUtRoN_StaR
NeUtRoN_StaR
N
im sure theres quite a few if you look
did u try searching through mirc.net

K
KidSol
KidSol
K
i did search but didn't found it
only found a script using irc to control the winamp. it can't allow ppl in irc in other pc to control it.

Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
If you found something that allows you to control Winamp (a DLL in other words) then you are all set. You simply create some kind of trigger, together with some form of access levels, make an on text event like:

on winamp:text:!control &:#mychannel:{
if ($2 == next) <call dll to move to next song>
elseif ($2 == pause) <call dll to pause song>
....
}

This uses a named userlevel "winamp", to understand what this implies, take a look at /help user list

K
KidSol
KidSol
K
http://www.jstott.me.uk/choonbot/

can it be modify? like what u say to add the trigger

Joined: Apr 2003
Posts: 701
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
Quote:
ChoonBot uses a combination of Winamp (not version 3!), BrowseAmp and Paul Mutton's PircBot to create an IRC bot that allows users on an IRC channel to control the music played by the computer that is running Winamp. BrowseAmp uses HTTP requests to control Winamp, so in theory, Winamp and BrowseAmp could be running on one computer and ChoonBot on another.


It says it uses Paul Mutton's PircBot for the IRC part, so check on their forums for more info.

Since it says it uses HTTP requests, you could basically script it yourself with sockets. I did the same with HTTPQ and it works fine. Just never got around to tidying it up for release...

K
KidSol
KidSol
K
I don't think i'm using http request.

kelder
how about this website?

http://www.mircscripts.com/cgi-bin/file.php?id=622

Can it be use to control winamp?

K
KidSol
KidSol
K
I guess that's not the script, when it's triiggered, it'l auto send the mp3 to other ppl. Not playing the song they want frown

Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
You can't stream music to other users over IRC, so if that's what you want isn't possible.

The closest thing to what you want are sound requests. Type /help Sound Requests in mIRC for more information. This is entirely seperate to WinAmp.


Link Copied to Clipboard