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

	<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>2003-07-31T05:31:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-31T05:31:49-04:00</updated>

		<published>2003-07-31T05:31:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24218#p24218</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24218#p24218"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24218#p24218"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>putserv "topic $chan :4,1\[14X4] 9,1S0hock4-9W0ave 4\[14X4]9 Current Dj:0 $dj4 \[14X4] 9Server: 0$scserver 4\[14X4]" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Jul 31, 2003 5:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-07-30T20:31:18-04:00</updated>

		<published>2003-07-30T20:31:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24210#p24210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24210#p24210"/>
		<title type="html"><![CDATA[sorry]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24210#p24210"><![CDATA[
sorry i will only past the login can anyone help me with this??<br><div class="codebox"><p>Code: </p><pre><code>proc login {nick host hand chan arg} { global radioname scserver if {![validuser $hand]} {return} global url pathqstat cc nopub dj set dj "$nick" putserv "topic $chan :4,1[14X4] 9,1S0hock4-9W0ave 4[14X4]9 Current Dj:0 $dj4 [14X4] 9Server: 0$scserver 4[14X4]" } proc djs {nick host hand chan arg} { global dj if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0} if {$arg == ""} { putserv "notice $nick :Current DJ: $dj" return 0 } } proc req {nick host hand chan arg} { global url pathqstat cc nopub dj if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0} if {$arg == ""} { putserv notice $nick "To Use Do @Request Your Request Hear" return 0 } set songname "$arg" putserv "PRIVMSG $dj :Request From $nick $songname" putserv "NOTICE $nick :You have request $songname. Please do not re-request this." } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Wed Jul 30, 2003 8:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-07-31T04:57:29-04:00</updated>

		<published>2003-07-30T20:14:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24209#p24209</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24209#p24209"/>
		<title type="html"><![CDATA[Re: help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24209#p24209"><![CDATA[
<blockquote class="uncited"><div>What is wrong with this a dj cant login...</div></blockquote>Why are you pasting the entire script? You made it, right? You should know which part deals with the login. And you should have used the code-tag to make the post readable.<br><br>If you'd read your error messages you'd know what's wrong. (hint "[" is used to execute commands. If you want it as part of a string you have to escape it.)<br><br>And why are you creating the "resetdj" proc from within "login"?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Jul 30, 2003 8:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-07-30T12:32:36-04:00</updated>

		<published>2003-07-30T12:32:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24193#p24193</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24193#p24193"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24193#p24193"><![CDATA[
What is wrong with this a dj cant login...<br><br>set dj "AUTO DJ"<br>set scserver "<a href="http://65.125.235.194:1337/listen.pls" class="postlink">http://65.125.235.194:1337/listen.pls</a>"<br><br>set tr "@"<br>set cc "@"<br><br>bind pub -|- ${tr}onair login<br>bind pub -|- ${tr}dj djs<br>bind pub -|- ${tr}offair logout<br>bind pub -|- ${tr}cleardj resetdj<br>bind pub -|- ${tr}request req<br>bind pub -|- ${tr}shoutout shout<br>bind pub -|- ${tr}prank pranking <br>bind pub -|- ${tr}topic settopic <br>bind pub -|- ${tr}commands com_list<br>bind pub -|- ${tr}djcommands djcom_list<br>bind pub -|- ${tr}credits cred_list<br>bind pub -|- ${tr}server serv_list<br>bind pub -|- ${tr}servers serv_list2<br>bind pub -|- ${tr}stream stream_list<br>bind nick - * dj:nick<br>bind sign - * dj:quit<br><br><br>proc login {nick host hand chan arg} {<br>global radioname scserver <br>if {![validuser $hand]} {return}<br>global url pathqstat cc nopub dj<br>set dj "$nick"<br>putserv "topic $chan :4,1[14X4] 9,1S0hock4-9W0ave 4[14X4]9 Current Dj:0 $dj4 [14X4] 9Server: 0$scserver 4[14X4]" <br>}<br><br>proc djs {nick host hand chan arg} { <br>global dj <br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :Current DJ: $dj"<br>return 0<br>}<br>}<br><br>proc req {nick host hand chan arg} {<br>global url pathqstat cc nopub dj<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv notice $nick "To Use Do @Request Your Request Hear"<br>return 0<br>}<br><br><br>set songname "$arg"<br>putserv "PRIVMSG $dj :Request From $nick $songname"<br>putserv "NOTICE $nick :You have request $songname. Please do not re-request this."<br>}<br><br><br>proc shout {nick host hand chan arg} {<br>global url pathqstat cc nopub dj<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv notice $nick "To Use Do @Shoutout Your Shoutout Hear."<br>return 0<br>}<br><br><br>set shoutout "$arg"<br>putserv "NOTICE $nick :Your shoutout $shoutout has been sent to the current DJ"<br>putserv "PRIVMSG $dj :Shoutout From $nick - $shoutout"<br>}<br><br><br>proc logout {nick host hand chan arg} {<br>global radioname scserver dj <br>global url pathqstat cc nopub <br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$dj == "$nick"} {<br>set dj "AUTO DJ"<br>putserv "topic $chan :4,1[14X4] 9,1S0hock4-9W0ave 4[14X4]9 Current Dj:0 $dj4 [14X4] 9Server: 0$scserver 4[14X4]" <br>}<br><br><br>proc resetdj {nick host hand chan arg} {<br>global radioname scserver <br>if {![validuser $hand]} {return}<br>global url pathqstat cc nopub dj<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>set dj "AUTO DJ"<br>putserv "topic $chan :4,1[14X4] 9,1S0hock4-9W0ave 4[14X4]9 Current Dj:0 $dj4 [14X4] 9Server: 0$scserver 4[14X4]" <br>}<br>}<br><br>proc pranking {nick host hand chan arg} {<br>global url pathqstat cc nopub dj<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv notice $nick "To Use Do @Prank Your Prank Hear."<br>return 0<br>}<br>set prank "$arg"<br>putserv "NOTICE $nick :Your prank $prank has been sent to the current DJ"<br>putserv "PRIVMSG $dj :Prank From $nick - $prank"<br>}<br><br>proc dj:nick { nick host hand chan newnick } { global radioname scserver; if {$dj == "$nick"} { set dj "$newnick"; putserv "topic $chan :4,1[14X4] 9,1S0hock4-9W0ave 4[14X4]9 Current Dj:0 $dj4 [14X4] 9Server: 0$scserver 4[14X4]  } }<br><br>proc dj:quit { nick host hand chan reason } { global radioname scserver show; if {$dj == "$nick"} { set dj "None"; putserv "topic $chan :4,1[14X4] 9,1S0hock4-9W0ave 4[14X4]9 Current Dj:0 $dj4 [14X4] 9Server: 0$scserver 4[14X4] } }<br> <br><br><br>proc settopic {nick host hand chan arg} { <br>global radioname scserver show<br>if {![validuser $hand]} {return}<br>global url pathqstat cc nopub dj<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>putserv "topic $chan :4,1[14X4] 9,1S0hock4-9W0ave 4[14X4]9 Current Dj:0 $dj4 [14X4] 9Server: 0$scserver 4[14X4]"<br>return 0<br>}<br><br><br>proc com_list {nick uhost handle chan arg} {<br>global command <br>putserv "NOTICE $nick :Commands: @Listeners @Song @Peak @LastSongs @Dj @Shoutout @Request @Prank @Cut @Credits"<br>return 0<br>}<br><br>proc cred_list {nick uhost handle chan arg} {<br>global command <br>putserv "NOTICE $nick :Credits: Radio Bot Scripted By Carnage"<br>return 0<br>}<br><br>proc serv_list {nick uhost handle chan arg} {<br>global command scserver<br>putserv "NOTICE $nick :Server: $scserver"<br>return 0<br>}<br><br>proc serv_list2 {nick uhost handle chan arg} {<br>global command scserver<br>putserv "NOTICE $nick :Server: $scserver"<br>return 0<br>}<br> <br>proc stream_list {nick uhost handle chan arg} {<br>global command scserver<br>putserv "NOTICE $nick :Server: $scserver"<br>return 0<br>}     <br><br><br>proc djcom_list {nick uhost handle chan arg} {<br>global command <br>putserv "NOTICE $nick :DJ-Commands: @Onair @Offair @ClearDJ"<br>return 0<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Wed Jul 30, 2003 12:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
