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

	<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-12-13T10:51:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Red_Rooste5]]></name></author>
		<updated>2006-12-13T10:51:51-04:00</updated>

		<published>2006-12-13T10:51:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68944#p68944</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68944#p68944"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68944#p68944"><![CDATA[
I've changed the if alot now but it still shows the same error...<br>What's wrong with it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8308">Red_Rooste5</a> — Wed Dec 13, 2006 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-13T05:34:29-04:00</updated>

		<published>2006-12-13T05:34:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68941#p68941</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68941#p68941"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68941#p68941"><![CDATA[
See <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/expr.htm" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/expr.htm</a> for valid operators to be used with expressions.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Dec 13, 2006 5:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Red_Rooste5]]></name></author>
		<updated>2006-12-13T02:27:03-04:00</updated>

		<published>2006-12-13T02:27:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68939#p68939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68939#p68939"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68939#p68939"><![CDATA[
Meh... I figured that out bot now I am given this error:<blockquote class="uncited"><div>[07:06] Tcl error in script for 'timer1':<br>[07:06] syntax error in expression "$nickonchan =&lt; $requirement &amp;&amp; [string equal -nocase $::botn...": extra tokens at end of expression</div></blockquote>On the if:<br><div class="codebox"><p>Code: </p><pre><code> } elseif {$nickonchan =&lt; $requirement &amp;&amp; [string equal -nocase $::botnick $nick]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8308">Red_Rooste5</a> — Wed Dec 13, 2006 2:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Red_Rooste5]]></name></author>
		<updated>2006-12-12T16:52:59-04:00</updated>

		<published>2006-12-12T16:52:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68929#p68929</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68929#p68929"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68929#p68929"><![CDATA[
What I'm saying is that I dunno why I am hopin to invite:joinmsg<br>I think it's got with something on the first script I made.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8308">Red_Rooste5</a> — Tue Dec 12, 2006 4:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-12T16:27:08-04:00</updated>

		<published>2006-12-12T16:27:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68928#p68928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68928#p68928"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68928#p68928"><![CDATA[
You're saying you don't know what your own code should do?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Dec 12, 2006 4:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Red_Rooste5]]></name></author>
		<updated>2006-12-12T16:17:28-04:00</updated>

		<published>2006-12-12T16:17:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68926#p68926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68926#p68926"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68926#p68926"><![CDATA[
I actually have no idea :\<br>But I didn't know what else to do :\<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8308">Red_Rooste5</a> — Tue Dec 12, 2006 4:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-12T15:25:17-04:00</updated>

		<published>2006-12-12T15:25:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68924#p68924</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68924#p68924"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68924#p68924"><![CDATA[
Yes.<br>What is the sole purpose of calling invites:joinmsg?<br>And when would it actually be useful to call invites:joinmsg?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Dec 12, 2006 3:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Red_Rooste5]]></name></author>
		<updated>2006-12-12T15:20:10-04:00</updated>

		<published>2006-12-12T15:20:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68923#p68923</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68923#p68923"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68923#p68923"><![CDATA[
If the bot is on less than 30 channels...?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8308">Red_Rooste5</a> — Tue Dec 12, 2006 3:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-12T15:18:10-04:00</updated>

		<published>2006-12-12T15:18:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68922#p68922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68922#p68922"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68922#p68922"><![CDATA[
Yes.<br>Under which conditions would your bot join a channel when being invited to one?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Dec 12, 2006 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Red_Rooste5]]></name></author>
		<updated>2006-12-12T15:15:17-04:00</updated>

		<published>2006-12-12T15:15:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68921#p68921</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68921#p68921"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68921#p68921"><![CDATA[
If the bot is on 30 channels :\<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8308">Red_Rooste5</a> — Tue Dec 12, 2006 3:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-12T15:15:49-04:00</updated>

		<published>2006-12-12T15:13:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68920#p68920</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68920#p68920"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68920#p68920"><![CDATA[
Yet another logic-error..<br>Considder this piece of your code:<div class="codebox"><p>Code: </p><pre><code> if {$chans == 30} {  putquick "NOTICE $nick :This bot is currently full, searching for other bots."  putquick "PRIVMSG #boombot :join $chan"  utimer 10 [list invites:joinmsg $chan $nick]  return } elseif {$chans &lt; 30} {  channel add $chan  putquick "PRIVMSG $chan :\00302BoomBot version 1.9 by \00307Red_Rooste5"  return }</code></pre></div>Now, under which conditions would invites:joinmsg be called?<br><br>Edit: Tiny fix to actually produce runnable code, as suggested in my previous post...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Dec 12, 2006 3:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Red_Rooste5]]></name></author>
		<updated>2006-12-12T15:03:41-04:00</updated>

		<published>2006-12-12T15:03:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68919#p68919</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68919#p68919"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68919#p68919"><![CDATA[
Yeah, that worked, thank you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>But it still doesn't part when the channel has 4 people in it :\<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8308">Red_Rooste5</a> — Tue Dec 12, 2006 3:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-12T14:53:16-04:00</updated>

		<published>2006-12-12T14:53:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68918#p68918</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68918#p68918"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68918#p68918"><![CDATA[
Assuming you hav'nt altered invites:join since last posting it, I'd say the error is here:<div class="codebox"><p>Code: </p><pre><code> } if {$chans &lt; 30} {</code></pre></div>This should really be either one of these:<div class="codebox"><p>Code: </p><pre><code> } elseif {$chans &lt; 30} {</code></pre></div><div class="codebox"><p>Code: </p><pre><code> } if {$chans &lt; 30} {</code></pre></div>Looking up the manual-page for <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/if.htm" class="postlink">if</a> might be a good idea<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Dec 12, 2006 2:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Red_Rooste5]]></name></author>
		<updated>2006-12-12T14:47:24-04:00</updated>

		<published>2006-12-12T14:47:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68917#p68917</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68917#p68917"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68917#p68917"><![CDATA[
Got the bot on...<div class="codebox"><p>Code: </p><pre><code>[19:46] Tcl error [invites:join]: wrong # args: no expression after "if" argument</code></pre></div>When I try to invite it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8308">Red_Rooste5</a> — Tue Dec 12, 2006 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-12T14:18:03-04:00</updated>

		<published>2006-12-12T14:18:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68915#p68915</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68915#p68915"/>
		<title type="html"><![CDATA[[Solved] Need some help again :\]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68915#p68915"><![CDATA[
In addition to what Sir_Fz said, this line is faulty:<div class="codebox"><p>Code: </p><pre><code>} elseif {$nickonchan =&lt; $requirement} &amp;&amp; [string equal -nocase $::botnick $nick]} {</code></pre></div>Simply put, there's one } too many in there, remove it. Which one should be obvious.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Dec 12, 2006 2:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
