TacticalThunder Posted April 28, 2013 Report Share Posted April 28, 2013 Actually it's over on SPCN Chain. Link to comment Share on other sites More sharing options...
err0r Posted April 28, 2013 Report Share Posted April 28, 2013 <p>updated a bit.</p> <pre class="_prettyXprint"> menu channel { Radio Test .Set Channel: { set %radiotest.room $$?="Full Channel Name" } .$iif($timer(.radiotest),$style(2)) Turn On: { radiotest | .timer.radiotest 0 10 radiotest | echo -a radiotest msg on } .$iif(!$timer(.radiotest),$style(2)) Turn Off: { unset %radiotest.song | unset %radiotest.lastsong | .timer.radiotest off | echo -a radiotest msg off } } alias radiotest { sockclose radiotest | sockopen radiotest 96.31.83.87 8037 } on *:sockopen:radiotest: { sockwrite -n $sockname GET /7.html HTTP/1.1 sockwrite -n $sockname User-Agent: SHOUTcast Song Status (Mozilla Compatible) sockwrite -n $sockname Host: $+(96.31.83.87,:,8037) sockwrite -n $sockname $crlf } on *:sockread:radiotest: { if ($sockerr > 0) return var %radiotest | sockread -fn %radiotest if ($regex(%radiotest,/<body>(.*)<\/body>/)) { set %radiotest.song $gettok($regml(1),7-,44) if (%radiotest.song != %radiotest.lastsong) { msg %radiotest.room Now playing on CosyClanRadio.com - %radiotest.song set %radiotest.lastsong %radiotest.song } } } </pre> Link to comment Share on other sites More sharing options...
TacticalThunder Posted April 29, 2013 Report Share Posted April 29, 2013 Thanks again for your help yesterday err0r and Chain, sorry I missed you Chain. This created a new problem, Super trivia now doesn't like the new mIRC, so I am working an a work around for it. Any one have any suggestions, let me know. Thanks TT Link to comment Share on other sites More sharing options...
Ozzy10 Posted August 27, 2013 Report Share Posted August 27, 2013 is that johnson still pestering you err0r i am going to have to pay him a visit lol Link to comment Share on other sites More sharing options...
err0r Posted August 27, 2013 Report Share Posted August 27, 2013 lol he is pissed at me Link to comment Share on other sites More sharing options...
JOhnson Posted August 29, 2013 Author Report Share Posted August 29, 2013 I am not pissed at you just f ing mad at you and Ozzy you have been saying that for years and tell me fella do you still have a horse or horses .... I might not be as good as you boys at scripting but I knows my horses Link to comment Share on other sites More sharing options...
JOhnson Posted June 30, 2015 Author Report Share Posted June 30, 2015 I have edited this code that err0r gave to one or two other radio's but for some reason its not working for me ... any idea what iv done wrong the ip is correct and the port is correct ... hope to hear from you soon thanks for any replies menu channel { - Magic .Set Channel: { set %magicroom $chan | echo -a channel : %magicroom } .$iif($timer(.magic),$style(2)) Turn On: { magic | .timer.magic 0 10 magic | echo -a magic msg on } .$iif(!$timer(.magic),$style(2)) Turn Off: { unset %magic.song | .timer.magic off | echo -a magic msg off }}alias magic { sockclose magic | sockopen magic 91.121.195.222 8104 }on *:sockopen:magic: { sockwrite -n $sockname GET /7.html HTTP/1.1 sockwrite -n $sockname User-Agent: SHOUTcast Song Status (Mozilla Compatible) sockwrite -n $sockname Host: $+(91.121.195.222,:,8104) sockwrite -n $sockname $crlf}on *:sockread:magic: { if ($sockerr > 0) return var %magic | sockread -fn %magic if ($regex(%magic,/<body>(.*)<\/body>/)) { set %magic.song $gettok($regml(1),7-,44) if (%magic.song != %magic.lastsong) { msg %magic.room Now playing on The Magic Radio - %magic.song (8) http://myradiostream.com/32/8104(8) set %magic.lastsong %magic.song } }};credit err0r www.tg007.net Link to comment Share on other sites More sharing options...
err0r Posted June 30, 2015 Report Share Posted June 30, 2015 what are the stations. Link to comment Share on other sites More sharing options...
JOhnson Posted June 30, 2015 Author Report Share Posted June 30, 2015 you know me iv joined http://myradiostream.com/32/8104 if that is any help to you ... it has an Ip and a port and that is about all I really knows ... unless you knows something I dont ... for godsake dont ask Pk the radio station is named The Magic Radio ? again if that is any help to you and again thank you for your reply ... as Ozzy sed is that Johnson doing your brains in ... tell him YES thanks again err0r I will leave it in your hands and hope you come up with the right answer Link to comment Share on other sites More sharing options...
err0r Posted July 1, 2015 Report Share Posted July 1, 2015 i'll have to check when you are on air sometime. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now