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

	<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>2004-03-31T20:10:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-03-31T20:10:55-04:00</updated>

		<published>2004-03-31T20:10:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35121#p35121</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35121#p35121"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35121#p35121"><![CDATA[
<blockquote class="uncited"><div>tnx that is the solution <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)</div></blockquote>It was also a different error message, as I had stated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Wed Mar 31, 2004 8:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-31T07:42:53-04:00</updated>

		<published>2004-03-31T07:42:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35114#p35114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35114#p35114"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35114#p35114"><![CDATA[
tnx that is the solution <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)<p>Statistics: Posted by Guest — Wed Mar 31, 2004 7:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-03-31T07:30:20-04:00</updated>

		<published>2004-03-31T07:30:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35113#p35113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35113#p35113"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35113#p35113"><![CDATA[
<blockquote class="uncited"><div>still getting this error on joins <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"></div></blockquote>Check tcl-commands.doc - the join bind adds 4 arguments when the command is called, not five, so remove the "arg" from your args and it should work just fine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Mar 31, 2004 7:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-31T07:16:19-04:00</updated>

		<published>2004-03-31T07:16:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35112#p35112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35112#p35112"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35112#p35112"><![CDATA[
still same<br>disabled all custom tcl scripts so that they cannot interfere<br><br>have changed the name of proc and vars <br>this is my new code<div class="codebox"><p>Code: </p><pre><code>bind join -|- "*" jupgreetproc jupgreet {nick host hand chan arg} {set fnamejupgreet "/usr/share/fortune/futurama"set fpjupgreet [open $fnamejupgreet "r"]set datajupgreet [read -nonewline $fpjupgreet]close $fpjupgreetset linesjupgreet [split $datajupgreet "%"]set numlinesjupgreet [llength $linesjupgreet] set numjupgreet [rand $numlinesjupgreet] set fulljupgreet [lindex $linesjupgreet $numjupgreet]set lines2jupgreet [split $fulljupgreet "\n"]set numlines2jupgreet [llength $lines2jupgreet] foreach ijupgreet $lines2jupgreet {#putlog "$ijupgreet"putserv "PRIVMSG $chan :$ijupgreet"}}putlog "jupgreet script by =XIII=Jupiler. Loaded."</code></pre></div>still getting this error on joins <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><div class="codebox"><p>Code: </p><pre><code>[11:00] jupiler kicked from #=XIII= by jupiler: Behave[11:00] Tcl error [jupgreet]: wrong # args: should be "jupgreet nick host hand chan arg"</code></pre></div><p>Statistics: Posted by Guest — Wed Mar 31, 2004 7:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-03-30T19:10:45-04:00</updated>

		<published>2004-03-30T19:10:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35103#p35103</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35103#p35103"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35103#p35103"><![CDATA[
<blockquote class="uncited"><div>changed it did a .restart <br>even did a a die and restarted it <br>still same prob</div></blockquote>Either you didn't edit/upload the correct TCL, or you didn't rename the proc to something like 'my_join', or you have another script that is redefining the 'join' command as well, or you did change it and are getting a different error.<br><br>These are the only possibilities...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Mar 30, 2004 7:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-30T17:59:04-04:00</updated>

		<published>2004-03-30T17:59:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35102#p35102</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35102#p35102"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35102#p35102"><![CDATA[
changed it did a .restart <br>even did a a die and restarted it <br>still same prob<br><blockquote class="uncited"><div>--------------------------------------------------------------------------------<br> <br>What exactly did you write in the '.tcl' command? <br> </div></blockquote>i posted the entire script<br>thats is everything except for a putlog "Greet script loaded"<p>Statistics: Posted by Guest — Tue Mar 30, 2004 5:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-03-30T16:43:11-04:00</updated>

		<published>2004-03-30T16:43:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35100#p35100</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35100#p35100"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35100#p35100"><![CDATA[
change the name of the proc again...<br>and this time, don't .rehash, instead, <strong class="text-strong">.restart</strong>.<br><br>This <strong class="text-strong">IS</strong> the problem.... <br><br><em class="text-italics">join</em> is a tcl-provided command, and by writing a proc called 'join' you are overwriting it, and effectively killing other scripts that depend on it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Mar 30, 2004 4:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-03-30T15:45:51-04:00</updated>

		<published>2004-03-30T15:45:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35099#p35099</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35099#p35099"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35099#p35099"><![CDATA[
What exactly did you write in the '.tcl' command?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4667">Xpert</a> — Tue Mar 30, 2004 3:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-30T15:41:50-04:00</updated>

		<published>2004-03-30T15:41:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35098#p35098</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35098#p35098"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35098#p35098"><![CDATA[
tried that already still the same<p>Statistics: Posted by Guest — Tue Mar 30, 2004 3:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-03-30T13:13:29-04:00</updated>

		<published>2004-03-30T13:13:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35094#p35094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35094#p35094"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35094#p35094"><![CDATA[
try to change the name of the proc, i <strong class="text-strong">think</strong> this is the problem <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4667">Xpert</a> — Tue Mar 30, 2004 1:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-30T12:14:29-04:00</updated>

		<published>2004-03-30T12:14:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35093#p35093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35093#p35093"/>
		<title type="html"><![CDATA[error in join script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35093#p35093"><![CDATA[
Hi i got a strange error in a join script hope you guys can help me out with it<br>this is the eroor i get<div class="codebox"><p>Code: </p><pre><code>Tcl error [join]: wrong # args: should be "join nick host hand chan arg"</code></pre></div>this is my script<div class="codebox"><p>Code: </p><pre><code>bind join -|- "*"  joinproc join {nick host hand chan arg} {set fname "/usr/share/fortune/futurama"set fp [open $fname "r"]set data [read -nonewline $fp]close $fpset lines [split $data "%"]set numlines [llength $lines] set num [rand $numlines] set full [lindex $lines $num]set lines2 [split $full "\n"]set numlines2 [llength $lines2] foreach i $lines2 {putserv "PRIVMSG $chan :$i"}}</code></pre></div>if i give the arguments he request in the error message then he gives the same error back only instead on 1 time join he would give 2 times join<br>like in "join join nick ..."<br><br>it also causes other scripts to give the same fault<p>Statistics: Posted by Guest — Tue Mar 30, 2004 12:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
