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

	<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>2010-11-10T10:39:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-11-10T10:39:05-04:00</updated>

		<published>2010-11-10T10:39:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95023#p95023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95023#p95023"/>
		<title type="html"><![CDATA[check from pool]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95023#p95023"><![CDATA[
<blockquote class="uncited"><div>would you be so kind to help me out with a small explanation/introduction please?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"></div></blockquote>Until arfer replies, here are a few things you might like to read.  They'll help to get you started.<br><br>Go here:<br><a href="http://suninet.the-demon.de/" class="postlink">http://suninet.the-demon.de/</a><br>That whole site is very helpful.<br>But if you wish, you can scroll down to the section titled Variables, and find a sub-section there,  -   Using Arrays.   .. and more.<br>You'll see, when you get there.<br><br>Go here:<br><a href="http://www.tcl.tk/man/tcl8.5/TclCmd/array.htm" class="postlink">http://www.tcl.tk/man/tcl8.5/TclCmd/array.htm</a><br>for the tcl array specific commands.<br>I wouldn't start here.  Just have it bookmarked, because you will need it eventually.   <br>You can do a lot with the info stored in arrays, with these commands.<br><br>For the part about reading from a file, the basics are here:<br><a href="http://forum.egghelp.org/viewtopic.php?t=6885" class="postlink">http://forum.egghelp.org/viewtopic.php?t=6885</a><br>Bear in mind, that the examples there are for reading from a file, into a list.   But it is still good reading, and gives you the idea of how it is done.<br>(If you need to look up some of the commands used, to understand them - go back to:  <a href="http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm" class="postlink">http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm</a><br>as that is the main page there )<br><br>I hope this little bit of background info, after you read it, gets you primed, so that you can take right off, with whatever comments arfer returns with.<br><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=10420">willyw</a> — Wed Nov 10, 2010 10:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2010-11-10T02:59:14-04:00</updated>

		<published>2010-11-10T02:59:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95020#p95020</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95020#p95020"/>
		<title type="html"><![CDATA[check from pool]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95020#p95020"><![CDATA[
would you be so kind to help me out with a small explanation/introduction please?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Wed Nov 10, 2010 2:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2010-11-09T19:55:16-04:00</updated>

		<published>2010-11-09T19:55:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95018#p95018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95018#p95018"/>
		<title type="html"><![CDATA[check from pool]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95018#p95018"><![CDATA[
You won't get very far with your Tcl projects without mastering arrays, so I suggest you make an effort to understand them.<br><br>The only way you can initialise a list or array on startup is to use a text file to save the data. The data, should any exist, is read on startup and saved after any changes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Tue Nov 09, 2010 7:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2010-10-24T16:07:11-04:00</updated>

		<published>2010-10-24T16:07:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94853#p94853</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94853#p94853"/>
		<title type="html"><![CDATA[check from pool]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94853#p94853"><![CDATA[
hi everyone <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>what Im after this time is some kind of pool containing the last 50 news titles I gathered from webpages, ordered by time, including their source website (and so on but those things are only details). so if a new title has been read from a website that it is matched against the last 50 entries of that pool to avoid duplicates on announcement bots in channels.<br><br>Im not so sure about how to build such things except for arrays (which are mysteries to me :/) and how to initiate such a list at bot startup etc.<br><br>Help and guidance appreciated <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=9589">raider2k</a> — Sun Oct 24, 2010 4:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
