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

	<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>2002-06-06T06:42:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-06-06T06:42:00-04:00</updated>

		<published>2002-06-06T06:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7730#p7730</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7730#p7730"/>
		<title type="html"><![CDATA[No Joy Guys]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7730#p7730"><![CDATA[
LOL - For each new entry, the file would allmost double in size.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Jun 06, 2002 6:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-06-05T18:54:00-04:00</updated>

		<published>2002-06-05T18:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7717#p7717</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7717#p7717"/>
		<title type="html"><![CDATA[No Joy Guys]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7717#p7717"><![CDATA[
Heh, if you want to make it work, just get rid of the "chan" argument in proc add_ftp_site {nick host hand chan text}<br><br>There are some other more serious errors though. I wouldn't run it until Papillon has time to test it <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=8">stdragon</a> — Wed Jun 05, 2002 6:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[[Nero]]]></name></author>
		<updated>2002-06-05T18:47:00-04:00</updated>

		<published>2002-06-05T18:47:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7716#p7716</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7716#p7716"/>
		<title type="html"><![CDATA[No Joy Guys]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7716#p7716"><![CDATA[
LOL - Just running that bit on it own returns [21:40] Tcl error [add_ftp_site]: no value given for parameter "text" to "add_ftp_site"<br><br>just not my day - or DAYS - lol<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1317">[Nero]</a> — Wed Jun 05, 2002 6:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-06-05T18:27:00-04:00</updated>

		<published>2002-06-05T18:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7715#p7715</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7715#p7715"/>
		<title type="html"><![CDATA[No Joy Guys]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7715#p7715"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set ftp_file "/home/path/to/your/bot/templist.txt"set ftp_site ""bind msg - add add_ftp_siteproc add_ftp_site {nick host hand chan text} {  global ftp_file ftp_site  set ftp_site "$text"  set fs [open $ftp_file r]  while {![eof $fs]} {     gets $fs line     if {[string match "$ftp_site*" $line]} {      putserv "MSG $nick :Sorry but $ftp_site is already in the list!"      close $fs    } else {      set ap [open $ftp_file a]      puts $ap "$ftp_site"      putserv "MSG $nick :$ftp_site has been added to the list."      close $ap    }  } }</code></pre></div>I think that'll work, don't kill me if it doesn't <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> I didn't have the time to test it<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Wed Jun 05, 2002 6:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-06-05T18:11:00-04:00</updated>

		<published>2002-06-05T18:11:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7712#p7712</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7712#p7712"/>
		<title type="html"><![CDATA[No Joy Guys]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7712#p7712"><![CDATA[
Nero, you're doing something wrong in the other part of the script. All of our suggestions for finding lines (including your *own* code) work just fine.<br><br>If you want help with the other part of the code, you will have to post it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed Jun 05, 2002 6:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[[Nero]]]></name></author>
		<updated>2002-06-05T17:10:00-04:00</updated>

		<published>2002-06-05T17:10:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=7710#p7710</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=7710#p7710"/>
		<title type="html"><![CDATA[No Joy Guys]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=7710#p7710"><![CDATA[
Thanx for the advise guys on the previous topics but no matter what i try i cannot get the bits you have suggested to work.<br><br>if i have say <a href="ftp://123.456.789.012" class="postlink">ftp://123.456.789.012</a> <br>in templist.txt &amp; some one /msg the egg with ADD <a href="ftp://123.456.789.012" class="postlink">ftp://123.456.789.012</a> all i need to work is that the egg will search templist.txt and 1) find it &amp; 2) say sorry but <a href="ftp://123.456.789.012" class="postlink">ftp://123.456.789.012</a> is already in <br>templist.txt } else { write it to templist.txt, is there anything else i could try ??<br><br>Many Many thanx again &amp; no the file is very small &amp; nowhere near 500Mb - lol<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1317">[Nero]</a> — Wed Jun 05, 2002 5:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
