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

	<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>2006-08-01T03:58:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[alisetan]]></name></author>
		<updated>2006-08-01T03:58:28-04:00</updated>

		<published>2006-08-01T03:58:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65059#p65059</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65059#p65059"/>
		<title type="html"><![CDATA[help for script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65059#p65059"><![CDATA[
<blockquote class="uncited"><div>put this at the top of your script:<div class="codebox"><p>Code: </p><pre><code>set dj "&lt;dj's nick&gt;"</code></pre></div>and replace &lt;dj's nick&gt; with your dj's nick</div></blockquote><br>how in this thing i want if !dj none... the bot will notice no dj available<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>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7781">alisetan</a> — Tue Aug 01, 2006 3:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-08-01T02:50:08-04:00</updated>

		<published>2006-08-01T02:50:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65056#p65056</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65056#p65056"/>
		<title type="html"><![CDATA[help for script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65056#p65056"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>put this at the top of your script:<div class="codebox"><p>Code: </p><pre><code>set dj "&lt;dj's nick&gt;"</code></pre></div>and replace &lt;dj's nick&gt; with your dj's nick</div></blockquote>it is manual.. or auto adding nick dj??</div></blockquote>That snippet is "manual".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Aug 01, 2006 2:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[alisetan]]></name></author>
		<updated>2006-08-01T01:32:11-04:00</updated>

		<published>2006-08-01T01:32:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65055#p65055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65055#p65055"/>
		<title type="html"><![CDATA[help for script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65055#p65055"><![CDATA[
<blockquote class="uncited"><div>put this at the top of your script:<div class="codebox"><p>Code: </p><pre><code>set dj "&lt;dj's nick&gt;"</code></pre></div>and replace &lt;dj's nick&gt; with your dj's nick</div></blockquote>it is manual.. or auto adding nick dj??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7781">alisetan</a> — Tue Aug 01, 2006 1:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[krimson]]></name></author>
		<updated>2006-07-31T16:26:02-04:00</updated>

		<published>2006-07-31T16:26:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65046#p65046</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65046#p65046"/>
		<title type="html"><![CDATA[help for script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65046#p65046"><![CDATA[
put this at the top of your script:<div class="codebox"><p>Code: </p><pre><code>set dj "&lt;dj's nick&gt;"</code></pre></div>and replace &lt;dj's nick&gt; with your dj's nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7663">krimson</a> — Mon Jul 31, 2006 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[alisetan]]></name></author>
		<updated>2006-07-31T14:55:39-04:00</updated>

		<published>2006-07-31T14:55:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65045#p65045</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65045#p65045"/>
		<title type="html"><![CDATA[Re: help for script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65045#p65045"><![CDATA[
<blockquote class="uncited"><div># 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>bind pub -|- ${tr}dj dj<br>bind pub -|- ${tr}request req<br><br>proc dj {nick host hand chan arg} {<br> global url pathqstat cc nopub dj<br>        if ($nick == $dj) { set $dj None }<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 ($dj == None) <br>        putserv "NOTICE $nick $nick No DJ Online!"<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" from [ $nick ] [  chan ] <br>putserv "NOTICE $nick :You have request $songname. Please do not re-request this."<br>}<br><br><br>what error for this.. blurr.. anyone can help</div></blockquote><br>when i type !dj nick<br><br>[19:52] Tcl error [dj]: can't read "dj": no such variable &lt;-- this thing happen.. what i want to do is.. when tyep !dj nick it set the dj nick.. when type !dj none.. if somebody type !request the bot notice putserv "NOTICE $nick $nick No DJ Online!" if the dj available.. the request is on<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7781">alisetan</a> — Mon Jul 31, 2006 2:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[krimson]]></name></author>
		<updated>2006-07-31T14:47:41-04:00</updated>

		<published>2006-07-31T14:47:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65044#p65044</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65044#p65044"/>
		<title type="html"><![CDATA[help for script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65044#p65044"><![CDATA[
please post your code between <div class="codebox"><p>Code: </p><pre><code> if you wish to get any help hereif you'd also post what error you recieve it would be much easier to debug</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7663">krimson</a> — Mon Jul 31, 2006 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[alisetan]]></name></author>
		<updated>2006-07-31T13:33:13-04:00</updated>

		<published>2006-07-31T13:33:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65043#p65043</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65043#p65043"/>
		<title type="html"><![CDATA[help for script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65043#p65043"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Public command triggerset tr "!"set cc "!"# Channels you _dont_ want the bot to reply to public triggers on (seperate with spaces):set nopub "#q3f"bind pub -|- ${tr}dj djbind pub -|- ${tr}request reqproc dj {nick host hand chan arg} { global url pathqstat cc nopub dj        if ($nick == $dj) { set $dj None }if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}if {$arg == ""} {putserv "notice $nick :Usage: ${cc}dj &lt;Exact Nickname&gt;"return 0}set dj "$arg"putserv "NOTICE $chan :DJ set to $dj"}proc req {nick host hand chan arg} {global url pathqstat cc nopub dj        if ($dj == None)         putserv "NOTICE $nick $nick No DJ Online!"if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}if {$arg == ""} {putserv "notice $nick :Usage: ${cc}request &lt;^BExact Songname^B&gt;"return 0}set songname "$arg"putserv "PRIVMSG $dj :$nick requested $songname" from [ $nick ] [  chan ] putserv "NOTICE $nick :You have request $songname. Please do not re-request this."}</code></pre></div>what error for this.. blurr.. anyone can help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7781">alisetan</a> — Mon Jul 31, 2006 1:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
