<?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/15468" />

	<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>2008-05-15T16:17:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-05-15T16:17:35-04:00</updated>

		<published>2008-05-15T16:17:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82927#p82927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82927#p82927"/>
		<title type="html"><![CDATA[Need a custom bot for a radio station]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82927#p82927"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>kick {putquick "privmsg $nick :Source successfully kicked"if {[lindex [split $streamdata] 15] == 1} {set sock [socket $sc::vars(ip) $sc::vars(port)]### Here is the kick call, cgi event will kicksrcputs $sock "GET /admin.cgi?mode=kicksrc HTTP/1.1"puts $sock "User-Agent:Mozilla"puts $sock "Host: $sc::vars(ip)"### That password must be correct to authorize the kick### This is your issue ------------vputs $sock "Authorization: Basic $sc::vars(adpass)"puts $sock ""### Here is the flush which will purge this thru the socketflush $sock </code></pre></div>All of that is fine, the cgi would kicksrc if you had the correct authorization password set in $sc::vars(adpass)....<br><br>** Note: Revived this thread because shoutcast scripts are asked for alot lately... see <a href="http://forum.egghelp.org/viewtopic.php?p=82923" class="postlink">this post</a> for proof..heh<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Thu May 15, 2008 4:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[djdem]]></name></author>
		<updated>2008-03-08T18:22:11-04:00</updated>

		<published>2008-03-08T18:22:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81543#p81543</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81543#p81543"/>
		<title type="html"><![CDATA[Need a custom bot for a radio station]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81543#p81543"><![CDATA[
ok then what should it look like to kick the dj<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9754">djdem</a> — Sat Mar 08, 2008 6:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2008-03-06T18:10:42-04:00</updated>

		<published>2008-03-06T18:10:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81495#p81495</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81495#p81495"/>
		<title type="html"><![CDATA[Need a custom bot for a radio station]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81495#p81495"><![CDATA[
thats not the part thats gonna kick anyone.  p.s. it is 'privmsg', not 'privmasg'<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Thu Mar 06, 2008 6:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[djdem]]></name></author>
		<updated>2008-03-06T09:48:27-04:00</updated>

		<published>2008-03-06T09:48:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81478#p81478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81478#p81478"/>
		<title type="html"><![CDATA[Need a custom bot for a radio station]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81478#p81478"><![CDATA[
Ok well i found a script i could change if needed but I need to only I do not know what to change if someone could offer some help.<br>when i try to !kickdj or !kick which should kick the current dj it says it did but does not can someone look at this line of script and tell me why it does not work.<br><br><br>kick {<br>     putquick "privmasg $nick :Source successfully kicked"<br>     if {[lindex $streamdata 15] == 1} {<br>          set sock [socket $sc::vars(ip) $sc::vars(port)]<br>          puts $sock "GET /admin.cgi?mode=kicksrc HTTP/1.1"<br>          puts $sock "User-Agent:Mozilla"<br>          puts $sock "Host: $sc::vars(ip)"<br>          puts $sock "Authorization: Basic $sc::vars(adpass)"<br>          puts $sock ""<br>          flush $sock<br><br>Somewhere in that its not kicking the source any ideas anyone. Would be greatly appreciated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9754">djdem</a> — Thu Mar 06, 2008 9:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[djdem]]></name></author>
		<updated>2008-03-02T12:53:43-04:00</updated>

		<published>2008-03-02T12:53:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81368#p81368</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81368#p81368"/>
		<title type="html"><![CDATA[Need a custom bot for a radio station]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81368#p81368"><![CDATA[
Good point well basicly i need a shoutcast script that will allow me to add djs and kick the auto dj also each dj needs to be able to set his or her own playlist. Also be able to set sponsors and band list of the bands we sponsor. I have tried a few i found in the archives but they do not have all the features needed. If more info needed let me know.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9754">djdem</a> — Sun Mar 02, 2008 12:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2008-03-02T09:02:54-04:00</updated>

		<published>2008-03-02T09:02:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81360#p81360</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81360#p81360"/>
		<title type="html"><![CDATA[Need a custom bot for a radio station]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81360#p81360"><![CDATA[
I'd suggest you to ask your request here and wait if someone reply to you if he wants. In this case we will get to learn many things and in future the question wont be repeated as it will be already answered. <br><br>Hope you get my point<br><br>peace<br>death<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sun Mar 02, 2008 9:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[djdem]]></name></author>
		<updated>2008-03-01T19:13:00-04:00</updated>

		<published>2008-03-01T19:13:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81336#p81336</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81336#p81336"/>
		<title type="html"><![CDATA[Need a custom bot for a radio station]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81336#p81336"><![CDATA[
If a bot coder could please e-mail me at <a href="mailto:deminsia@comcast.net">deminsia@comcast.net</a> or on irc.gamesurge.net #eglnradio and pm EGLN|R|Dem thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9754">djdem</a> — Sat Mar 01, 2008 7:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
