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

	<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-04-12T13:45:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-12T13:45:55-04:00</updated>

		<published>2003-04-12T13:45:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18995#p18995</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18995#p18995"/>
		<title type="html"><![CDATA[radio2.tcl big prob]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18995#p18995"><![CDATA[
ok i have sorted that problem now iv got another <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":-(" title="Sad"><br><br># Public command trigger<br>set tr "!"<br>set cc "!"<br><br># Channels you _dont_ want the bot to reply to public triggers on (seperate with spaces):<br>set nopub "#q3f"<br><br>###############################################################<br>##This is where the evil TCL code starts, read at your peril!##<br>###############################################################<br><br>set qversion "1.5"<br><br>bind pub -|- ${tr}help help<br>bind pub o|o ${tr}dj dj<br>bind pub -|- ${tr}request req<br>bind pub o|o ${tr}setserver setserv<br><br>bind pub -|- ${tr}server serv<br><br>bind pub -|- ${tr}shoutout shout<br><br>proc help {nick host hand chan arg} {<br>    global url pathqstat tr nopub<br>    if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>putserv "NOTICE $nick : Commands:"<br>putserv "NOTICE $nick : ${tr}help - This info"<br>        putserv "NOTICE $nick : ${tr}dj - shows dj" <br>      putserv "NOTICE $nick : ${tr}request - Requests a song"<br>      putserv "NOTICE $nick : ${tr}server - Shows the shoutcast server"<br>      putserv "NOTICE $nick : ${tr}shoutout - Request a shoutout"<br>return 0<br>}<br>proc dj {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 :Usage: ${cc}dj &lt;Exact Nickname&gt;"<br>return 0<br>}<br>set dj "$arg"<br>putserv "NOTICE $chan :DJ set to $dj"<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 :Usage: ${cc}request &lt;^BExact Songname^B&gt;"<br>return 0<br>}<br>set songname "$arg"<br>putserv "PRIVMSG $dj :$nick requested $songname"<br>putserv "NOTICE $nick :You have request $songname. Please do not re-request this."<br>}<br>proc setserv {nick host hand chan arg} {<br>global url pathqstat cc nopub server<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :Usage: ${cc}serverset &lt;^BIP Address^B&gt;"<br>return 0<br>}<br>set server "$arg"<br>putserv "NOTICE $nick :Server set to $server"<br>}<br>proc serv {nick host hand chan arg} { <br>global url pathqstat cc nopub server<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :Current server is set to $server"<br>return 0<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 :Usage: ${cc}shoutout &lt;^BYour Shoutout^B&gt;"<br>return 0<br>}<br>set shoutout "$arg"<br>putserv "NOTICE $nick :Your shoutout $shoutout has been sent to the current DJ"<br>putserv "PRIVMSG $dj :$nick requested shoutout - $shoutout"<br>}<br><br>right now ill tell you wot im trying to get it to do ok i have sorted the problem with anyone being able to set a dj now when u type !help it shows u all the commands, now i want to get it to show the dj so u would type !dj but it keeps going for me to set a dj it doesnt show me who the dj is<p>Statistics: Posted by Guest — Sat Apr 12, 2003 1:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-12T11:47:45-04:00</updated>

		<published>2003-04-12T11:47:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18976#p18976</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18976#p18976"/>
		<title type="html"><![CDATA[radio2.tcl big prob]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18976#p18976"><![CDATA[
errr bind msg &lt;flags&gt; &lt;command&gt; &lt;proc&gt; wots this never used a bind before ? can u tell me how i do that and where i do it<p>Statistics: Posted by Guest — Sat Apr 12, 2003 11:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-04-12T07:47:57-04:00</updated>

		<published>2003-04-12T07:47:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18953#p18953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18953#p18953"/>
		<title type="html"><![CDATA[radio2.tcl big prob]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18953#p18953"><![CDATA[
(from tcl-commands.doc)<br>bind msg &lt;flags&gt; &lt;command&gt; &lt;proc&gt;<br><br>bind pub o|o ${tr}dj dj<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Sat Apr 12, 2003 7:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-12T00:13:01-04:00</updated>

		<published>2003-04-12T00:13:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18933#p18933</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18933#p18933"/>
		<title type="html"><![CDATA[radio2.tcl big prob]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18933#p18933"><![CDATA[
so how can i make it where only ops can set a DJ ?<p>Statistics: Posted by Guest — Sat Apr 12, 2003 12:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-04-11T10:55:12-04:00</updated>

		<published>2003-04-11T10:55:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18914#p18914</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18914#p18914"/>
		<title type="html"><![CDATA[radio2.tcl big prob]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18914#p18914"><![CDATA[
you can't do "bind nopub..."<blockquote class="uncited"><div>Channels you _dont_ want the bot to reply to public triggers on (seperate with spaces): <br>set nopub "#q3f" </div></blockquote>this means you shall set any channels you don't want it to reply in the ""... like this:<br><br>set nopub "#chan1 #chan2 #chan3"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Apr 11, 2003 10:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-11T10:33:17-04:00</updated>

		<published>2003-04-11T10:33:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18913#p18913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18913#p18913"/>
		<title type="html"><![CDATA[radio2.tcl big prob]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18913#p18913"><![CDATA[
right i got this all sorted but one thing still remians and dont have a clue how to sort when im in my channel and i wanna DJ i would type !DJ then my name that works ok but anyone can type that in how can i make it only ops can type that in  ibut it says this<br><br>Channels you _dont_ want the bot to reply to public triggers on (seperate with spaces):<br>set nopub "#q3f"<br><br>bind pub -|- ${tr}help help<br>bind pub -|- ${tr}dj dj<br>bind pub -|- ${tr}request req<br>bind pub -|- ${tr}setserver setserv<br>bind pub -|- ${tr}server serv<br>bind pub -|- ${tr}shoutout shout<br><br>now i thought it meant do something like this <br><br>bind nopub -|- ${tr}dj dj<br><br>but when i done that and went to load it all up again the thing wouldnt load for me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":-(" title="Sad"> this is realy frustraighting me now <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":-(" title="Sad"> can anyone help ?<p>Statistics: Posted by Guest — Fri Apr 11, 2003 10:33 am</p><hr />
]]></content>
	</entry>
	</feed>
