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

	<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-06-18T06:36:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[pollar]]></name></author>
		<updated>2003-06-18T06:36:03-04:00</updated>

		<published>2003-06-18T06:36:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22106#p22106</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22106#p22106"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22106#p22106"><![CDATA[
You should use:<br><div class="codebox"><p>Code: </p><pre><code>\[Only When Doing Pranks\]</code></pre></div>instead of<br><div class="codebox"><p>Code: </p><pre><code>[Only When Doing Pranks]</code></pre></div>When you use [Only When Doing Pranks], you are calling a procedure named Only with 3 args (When, Doing, Pranks). It's wrong for your situation. So replace [ ] with \[  \] and help will work I think...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br><br><br>I don't understand what exactly you need in your 2nd question. There is my version of the code ...<br><br><br><div class="codebox"><p>Code: </p><pre><code>proc login {nick host hand chan arg} { if {![validuser $hand]} {return} global url pathqstat cc nopub dj if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0} if {$dj!="None"&amp;&amp;[onchan $dj #or-radio]} {puthelp "PRIVMSG $nick : We already have a DJ :P"return 0}set show "$arg" set dj "$nick" putserv "privmsg chanserv :#or-radio topic 14,1\\ 4,1oR-0,1Radio14,1 \\4,1 D0,1J: $dj 14,1\\ 4,1S0,1how: $show 14,1\\ 4,1S0,1erver: http://66.227.110.7:8018/listen.pls 0,114,1\\" } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2501">pollar</a> — Wed Jun 18, 2003 6:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2003-06-18T05:05:43-04:00</updated>

		<published>2003-06-18T05:05:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22093#p22093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22093#p22093"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22093#p22093"><![CDATA[
does it give you any error messages? if yes, please post them.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Wed Jun 18, 2003 5:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-06-17T14:41:35-04:00</updated>

		<published>2003-06-17T14:41:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22070#p22070</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22070#p22070"/>
		<title type="html"><![CDATA[nvm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22070#p22070"><![CDATA[
nvm no i dident i still need both<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Tue Jun 17, 2003 2:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-06-17T14:36:18-04:00</updated>

		<published>2003-06-17T14:36:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22069#p22069</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22069#p22069"/>
		<title type="html"><![CDATA[hello]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22069#p22069"><![CDATA[
i got one of thos down i just need to know why help doedent work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Tue Jun 17, 2003 2:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-06-17T14:34:40-04:00</updated>

		<published>2003-06-17T14:34:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22068#p22068</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22068#p22068"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22068#p22068"><![CDATA[
hello i have ben scripting this for a cupple days and i need 2 things on it<br><br><br><br>set tr "@"<br>set cc "@"<br><br>set nopub "#q3f"<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}requestdj reqdj<br>bind pub -|- ${tr}prank pranking <br>bind pub -|- ${tr}commands help<br><br><br><br><br>set qversion "1.5"<br><br><br><br>proc login {nick host hand chan arg} {<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 show "$arg"<br>set dj "$nick"<br>putserv "privmsg chanserv :#or-radio topic 14,1\\ 4,1oR-0,1Radio14,1 \\4,1 D0,1J: $dj 14,1\\ 4,1S0,1how: $show 14,1\\ 4,1S0,1erver: <a href="http://66.227.110.7:8018/listen.pls" class="postlink">http://66.227.110.7:8018/listen.pls</a> 0,114,1\\"  <br>}<br><br><br><br><br>proc djs {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 "PRIVMSG #or-radio :14,1\\ 4,1oR-0,1Radio14,1 \\4,1 D0,1J: $dj 14,1\\"<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 url pathqstat cc nopub dj<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$dj == "$nick"} {<br>set dj "None"<br>set show "None"<br>putserv "privmsg chanserv :#or-radio topic 14,1\\ 4,1oR-0,1Radio14,1 \\4,1 D0,1J: $dj 14,1\\ 4,1S0,1how: $show 14,1\\ 4,1S0,1erver: <a href="http://66.227.110.7:8018/listen.pls" class="postlink">http://66.227.110.7:8018/listen.pls</a> 0,114,1\\"  <br>}<br><br><br>proc resetdj {nick host hand chan arg} {<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 "None"<br>set show "None"<br>putserv "privmsg chanserv :#or-radio topic 14,1\\ 4,1oR-0,1Radio14,1 \\4,1 D0,1J: $dj 14,1\\ 4,1S0,1how: $show 14,1\\ 4,1S0,1erver: <a href="http://66.227.110.7:8018/listen.pls" class="postlink">http://66.227.110.7:8018/listen.pls</a> 0,114,1\\"  <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><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 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 "PRIVMSG #or-radio : 14,1\\ 4,1oR-0,1Radio14,1 \\0,1 Commands: 4,1@0,1servers 4,1@0,1song 4,1@0,1listeners 4,1@0,1request 4,1@0,1shoutout 4,1@0,1website4,1 @0,1sponsors 4,1 @0,1dj 4,1 @0,1Prank [Only When Doing Pranks] 14,1\\"<br>return 0<br>}   <br><br><br><br>1: why doesent help work?<br>2: when a dj is on air and another sayd onair it puts them on how do i make it do it doesent do that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Tue Jun 17, 2003 2:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
