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

	<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>2007-10-11T21:48:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[JohnJohnJohn]]></name></author>
		<updated>2007-10-11T21:48:07-04:00</updated>

		<published>2007-10-11T21:48:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76642#p76642</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76642#p76642"/>
		<title type="html"><![CDATA[Just a little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76642#p76642"><![CDATA[
that was quick! thanks nml375 <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <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=9332">JohnJohnJohn</a> — Thu Oct 11, 2007 9:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-11T08:57:44-04:00</updated>

		<published>2007-10-11T08:57:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76614#p76614</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76614#p76614"/>
		<title type="html"><![CDATA[Just a little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76614#p76614"><![CDATA[
Ahh, overlooked this line:<div class="codebox"><p>Code: </p><pre><code>  utimer $greetime [list putserv "PRIVMSG $chan :[lindex $join1 [rand [llength $join1]]]]"</code></pre></div>Brackets and quotes are not in proper order, should be like this:<div class="codebox"><p>Code: </p><pre><code>  utimer $greetime [list putserv "PRIVMSG $chan :[lindex $join1 [rand [llength $join1]]]"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Oct 11, 2007 8:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[JohnJohnJohn]]></name></author>
		<updated>2007-10-11T08:48:51-04:00</updated>

		<published>2007-10-11T08:48:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76612#p76612</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76612#p76612"/>
		<title type="html"><![CDATA[Just a little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76612#p76612"><![CDATA[
nml375 i changed it in that way as u've said but unfortunately i still encounter the same problem.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9332">JohnJohnJohn</a> — Thu Oct 11, 2007 8:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-11T07:11:55-04:00</updated>

		<published>2007-10-11T07:11:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76607#p76607</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76607#p76607"/>
		<title type="html"><![CDATA[Just a little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76607#p76607"><![CDATA[
Enclose your \n with "" and I believe the problem should go away. Ie:<div class="codebox"><p>Code: </p><pre><code>set join1 [split [read $file5] "\n"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Oct 11, 2007 7:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[JohnJohnJohn]]></name></author>
		<updated>2007-10-10T23:43:42-04:00</updated>

		<published>2007-10-10T23:43:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76592#p76592</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76592#p76592"/>
		<title type="html"><![CDATA[Just a little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76592#p76592"><![CDATA[
oh sorry for that rosc2112.. anyway here's the code that i've edited.<br><div class="codebox"><p>Code: </p><pre><code>set patch "/usr/space/frozen/eggdrop"set greetime "15"bind join - * showgreetproc showgreet {nick uhost hand chan} {global patch greetimeif {[file exist /$patch/$nick.txt]} {set file5 [open /$patch/$nick.txt r+]set join1 [split [read $file5] \n]close $file5utimer $greetime [list putserv "PRIVMSG $chan :[lindex $join1 [rand [llength $join1]]]]"}}</code></pre></div>And the error that i've encountered is<blockquote class="uncited"><div>Tcl error [showgreet]: missing close-bracket</div></blockquote>--hope ya can fix that for me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <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=9332">JohnJohnJohn</a> — Wed Oct 10, 2007 11:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-10-10T23:13:43-04:00</updated>

		<published>2007-10-10T23:13:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76590#p76590</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76590#p76590"/>
		<title type="html"><![CDATA[Just a little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76590#p76590"><![CDATA[
If you edited the script, and it then causes an error, it would be helpful to post your edited code..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Wed Oct 10, 2007 11:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[JohnJohnJohn]]></name></author>
		<updated>2007-10-10T21:10:44-04:00</updated>

		<published>2007-10-10T21:10:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76586#p76586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76586#p76586"/>
		<title type="html"><![CDATA[Just a little modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76586#p76586"><![CDATA[
i tried to edit this code to pick random line in txt.file to greet specific nicks who joins the channel but it says that tcl error showgreet missing close bracket. Here is the untouched code.<br><br>--Not all users who join the channel are been greeted. Only those specified nick which are saved in tha patch.<br><br> <br><div class="codebox"><p>Code: </p><pre><code>set patch "/usr/space/frozen/eggdrop"set greetime "15"bind join - * showgreetproc showgreet {nick uhost hand chan} {global patch greetimeif {[file exist /$patch/$nick.txt]} {set file5 [open /$patch/$nick.txt r+]gets $file5 textclose $file5utimer $greetime [list putserv "PRIVMSG $chan :$text"]}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9332">JohnJohnJohn</a> — Wed Oct 10, 2007 9:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
