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

	<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>2009-01-02T20:38:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2009-01-02T20:38:27-04:00</updated>

		<published>2009-01-02T20:38:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86688#p86688</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86688#p86688"/>
		<title type="html"><![CDATA[[SOLVED] retrieving certain objects]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86688#p86688"><![CDATA[
geesh!<br>that worked<br><br>thanks very much for your help <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> — Fri Jan 02, 2009 8:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-01-02T20:25:09-04:00</updated>

		<published>2009-01-02T20:25:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86686#p86686</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86686#p86686"/>
		<title type="html"><![CDATA[[SOLVED] retrieving certain objects]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86686#p86686"><![CDATA[
You could use a regexp to get everything between "poster: " and " date:" using something sililar to the following tclsh examples :-<br><br>% set data "news added: sony increased sale rates on playstation 3 poster: dick tracy date: 2009-01-01"<br>news added: sony increased sale rates on playstation 3 poster: dick tracy date: 2009-01-01<br>% regexp {poster: (.+?) date:} $data -&gt; nick<br>1<br>% return $nick<br>dick tracy<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Fri Jan 02, 2009 8:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2009-01-02T20:38:44-04:00</updated>

		<published>2009-01-02T19:34:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86684#p86684</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86684#p86684"/>
		<title type="html"><![CDATA[[SOLVED] retrieving certain objects]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86684#p86684"><![CDATA[
hi ^^<br><br>to explain what i like to do:<br><br>i catch a line with my bot which comes from a news system but only want to retrieve the news posters nickname - problem is that the news posters nickname sometimes consists of one or two names, in example:<br><br>"news added: sony increased sale rates on playstation 3 poster: <strong class="text-strong">derrick</strong> date: 2009-01-01" &lt;-- one name which i can easily catch with lindex<br>and<br>"news added: sony increased sale rates on playstation 3 poster: <strong class="text-strong">dick tracy</strong> date: 2009-01-01" &lt;-- two names<br><br>is there a way to easily retrieve only the posters complete nick?<br>or is there a way to string match from a special char to a special char?<br><br>hope my explanation isnt that bad <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> — Fri Jan 02, 2009 7:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
