<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/18559" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2013-01-26T18:24:54-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/18559</id>

		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-01-26T18:24:54-04:00</updated>

		<published>2013-01-26T18:24:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100782#p100782</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100782#p100782"/>
		<title type="html"><![CDATA[more radio and mor room]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100782#p100782"><![CDATA[
See this topic <a href="http://forum.egghelp.org/viewtopic.php?t=19283" class="postlink">http://forum.egghelp.org/viewtopic.php?t=19283</a> it does what you want. Every channel cna have its one radio station.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sat Jan 26, 2013 6:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tommyken]]></name></author>
		<updated>2011-07-23T14:08:11-04:00</updated>

		<published>2011-07-23T14:08:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97273#p97273</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97273#p97273"/>
		<title type="html"><![CDATA[more radio and mor room]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97273#p97273"><![CDATA[
Hello all, <br><br>i've found a script (sorry i forgot name) but i've a problem.<br>This is as following. This script works fine, but for one radio and one room.<br>I want a second radiostation for an other room. P.e. #Room1 has radio1 and #room2 has radio2. With use of same commands, thx advanced.<br><div class="codebox"><p>Code: </p><pre><code># Stream URL (e.g. http://domain.tld:port OR http://IP:port)set url "urlofradio1:port"# Playlist URL (Leave empty for default stream playlist)set playlist ""# Public/User Channelset streamch "#room1"# Private/DJ Channelset djch  "#room1"set huidige "huidig"set tweede "vorig"set derde "derde"set vierdes "vierde"set vijfdes "vijfde"set zesdes "zesde"set zevendes "zeven"set achtstes "acht"set negendes "negen"################################ DO NOT EDIT #################################package require httpbind time - * gobind pub -|- !start goproc go {min hour day month year} {   global url streamch chan huidige tweede derde vierdes vijfdes zesdes zevendes achtstes negendes liedje    set chan  "#radiovollemaan"set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&lt;font class=default&gt;Current Song: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;} $data x title]} {if {$huidige == $title} {} else {if {$tweede == $title} {} else {if {$derde == $title} {} else {if {$vierdes == $title} {} else {if {$vijfdes == $title} {} else {if {$zesdes == $title} {} else {if {$zevendes == $title} {} else {if {$achtstes == $title} {} else {if {$negendes == $title } {} else {set negendes $achtstesset achtstes $zevendesset zevendes $zesdesset zesdes $vijfdesset vijfdes $vierdesset vierdes $derdeset derde $tweedeset tweede $huidigeset huidige $titleputhelp "PRIVMSG $chan :\00300,12Current Song\003: \00312,00 $title\003"}}}}}}}}}} else {puthelp "PRIVMSG $chan :Couldn't receive any information, checking server status..." return 0}   }                  }bind pub -|- !song get_shoutcast_song bind pub -|- !np get_shoutcast_song proc get_shoutcast_song {nick uhost hand chan arg} {   global url streamch   set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&lt;font class=default&gt;Current Song: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;} $data x title]} {puthelp "PRIVMSG $chan :\002Current Song\002: $title"} else {puthelp "PRIVMSG $chan :Couldn't receive any information, checking server status..."get_shoutcast_server $nick $uhost $hand $chan $arg}   }}bind pub -|- !title get_shoutcast_titlebind pub -|- !dj get_shoutcast_titleproc get_shoutcast_title {nick uhost hand chan arg} {   global url streamch   set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&lt;font class=default&gt;Stream Title: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;} $data x title]} {puthelp "PRIVMSG $chan :\002DJ\002: $title"} else {puthelp "PRIVMSG $chan :Couldn't receive any information, checking server status..."get_shoutcast_server $nick $uhost $hand $chan $arg}   }}bind pub -|- !site get_shoutcast_sitebind pub -|- !url get_shoutcast_sitebind pub -|- !website get_shoutcast_siteproc get_shoutcast_site {nick uhost hand chan arg} {   global url streamch   set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&gt;http://([^&lt;]+)&lt;/a&gt;&lt;/b&gt;} $data x title]} {puthelp "PRIVMSG $chan :\002Website\002: http://$title"} elseif {[regexp {&gt;www.([^&lt;]+)&lt;/a&gt;&lt;/b&gt;} $data x title]} {puthelp "PRIVMSG $chan :\002Website\002: http://www.$title"} else {puthelp "PRIVMSG $chan :Couldn't receive any information, checking server status..."get_shoutcast_server $nick $uhost $hand $chan $arg}   }}bind pub -|- !server get_shoutcast_serverproc get_shoutcast_server {nick uhost hand chan arg} {   global url streamch   set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&lt;font class=default&gt;Server Status: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;} $data x title]} {puthelp "PRIVMSG $chan :\002Server\002: $title"} else {puthelp "PRIVMSG $chan :Couldn't contact the server, please check the configuration and/or streaming server"}   }}bind pub -|- !genre get_shoutcast_genre proc get_shoutcast_genre {nick uhost hand chan arg} {   global url streamch   set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&lt;font class=default&gt;Stream Genre: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;} $data x title]} {puthelp "PRIVMSG $chan :\002Genre\002: $title"} else {puthelp "PRIVMSG $chan :Couldn't receive any information, checking server status..."get_shoutcast_server $nick $uhost $hand $chan $arg}   }}bind pub -|- !status get_shoutcast_statusproc get_shoutcast_status {nick uhost hand chan arg} {   global url streamch   set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {B&gt;([^&lt;]+) of} $data x title]} {regexp { of ([^&lt;]+) listeners} $data x title2regexp {listeners ([^&lt;]+)} $data x title3regexp {Stream is up at ([^&lt;]+) with} $data x title4puthelp "PRIVMSG $chan :\002Status\002: $title of $title2 $title3 at $title4"} else {puthelp "PRIVMSG $chan :Couldn't receive any information, checking server status..."get_shoutcast_server $nick $uhost $hand $chan $arg}   }}bind pub -|- !record get_shoutcast_peakproc get_shoutcast_peak {nick uhost hand chan arg} {   global url streamch   set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&lt;font class=default&gt;Listener Peak: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;} $data x title]} {puthelp "PRIVMSG $chan :\002Record\002: $title"} else {puthelp "PRIVMSG $chan :Couldn't receive any information, checking server status..."get_shoutcast_server $nick $uhost $hand $chan $arg}   }}bind pub -|- !listen get_shoutcast_listenproc get_shoutcast_listen {nick uhost hand chan arg} {   global url streamch playlist   set streamch [string tolower $streamch]   if {[string tolower $chan] == "$streamch"} {if {$playlist == ""} {puthelp "PRIVMSG $chan :\002Stream/Listen\002: $url/listen.pls"} else { puthelp "PRIVMSG $chan :\002Stream/Listen\002: $playlist"}   }}bind pub -|- !icq get_shoutcast_icq proc get_shoutcast_icq {nick uhost hand chan arg} {   global url streamch   set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&lt;font class=default&gt;Stream ICQ: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;} $data x title]} {puthelp "PRIVMSG $chan :\002ICQ\002: $title"} else {puthelp "PRIVMSG $chan :Couldn't receive any information, checking server status..."get_shoutcast_server $nick $uhost $hand $chan $arg}   }}bind pub -|- !aim get_shoutcast_aim proc get_shoutcast_aim {nick uhost hand chan arg} {   global url streamch   set streamch [string tolower $streamch]   ::http::config -useragent "Mozilla/5.0; Shoutinfo"   if {[string tolower $chan] == "$streamch"} {    set http_req [::http::geturl $url -timeout 2000]if {[::http::status $http_req] != "ok"} {puthelp "PRIVMSG $chan :Stream is unavailable";}set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&lt;font class=default&gt;Stream AIM: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;([^&lt;]+)&lt;/b&gt;} $data x title]} {puthelp "PRIVMSG $chan :\002AIM\002: $title"} else {puthelp "PRIVMSG $chan :Couldn't receive any information, checking server status..."get_shoutcast_server $nick $uhost $hand $chan $arg}   }}bind pub -|- !request get_shoutcast_requestproc get_shoutcast_request {nick uhost hand chan arg} {   global streamch djch   set streamch [string tolower $streamch]   if {[string tolower $chan] == "$streamch"} {puthelp "PRIVMSG $djch :\002\Request\002: $arg  - Requested by: \002$nick\002"puthelp "NOTICE $nick :\002$arg\002 is succesfully requested"   }}</code></pre></div>thx advanced<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9852">Tommyken</a> — Sat Jul 23, 2011 2:08 pm</p><hr />
]]></content>
	</entry>
	</feed>
