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

	<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-04-17T08:13:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-04-17T08:13:00-04:00</updated>

		<published>2002-04-17T08:13:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6280#p6280</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6280#p6280"/>
		<title type="html"><![CDATA[file-search?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6280#p6280"><![CDATA[
Forgot to post that I actually found out how to do it on my own, but thx anyway =)<br><br>Now a new question... I'm on a new but similar script. If u do !add xx:xx:xx How can u split up the xx:xx:xx and make the script recoginse if it is one or two ":" in the arg?<br><br>say if u have !add 11:11 it sees that the arg has one ":" and puts that in a file...or it sees that it is two ":" in !add 11:11:11 <br>and put that in a different file...<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Wed Apr 17, 2002 8:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-16T12:58:00-04:00</updated>

		<published>2002-04-16T12:58:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6246#p6246</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6246#p6246"/>
		<title type="html"><![CDATA[file-search?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6246#p6246"><![CDATA[
if {$line == $arg} { set found 1 } <br><br>if u use a <br>{[string match *$arg* $line]} { set found 1 }<br><p>Statistics: Posted by Guest — Tue Apr 16, 2002 12:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-04-16T05:29:00-04:00</updated>

		<published>2002-04-16T05:29:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6240#p6240</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6240#p6240"/>
		<title type="html"><![CDATA[file-search?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6240#p6240"><![CDATA[
here's the prob. I'm working on a script which contains alot of info..so I put it in txt files. U can do !search &lt;word&gt; and the script gives a reply to that. Now what I can't figure out is... How do I code it so that if I search for "swed", it searches for any word in the txt file starting with<br>"swed"?..ex "sweden"<br><br>I've used:<br><br>  while {![eof $fs]} { <br>    gets $fs line <br>    if {$line == $arg} { set found 1 } <br>  }  <br>  if {$found} {<br><br>to search for the entire words...and it works just as I want it to.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Apr 16, 2002 5:29 am</p><hr />
]]></content>
	</entry>
	</feed>
