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

	<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>2004-12-17T09:49:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SomeGuy]]></name></author>
		<updated>2004-12-17T09:49:35-04:00</updated>

		<published>2004-12-17T09:49:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44095#p44095</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44095#p44095"/>
		<title type="html"><![CDATA[Moving back one line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44095#p44095"><![CDATA[
You guys rock, thanks for the help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4901">SomeGuy</a> — Fri Dec 17, 2004 9:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2004-12-17T04:58:52-04:00</updated>

		<published>2004-12-17T04:58:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44092#p44092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44092#p44092"/>
		<title type="html"><![CDATA[Moving back one line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44092#p44092"><![CDATA[
ah yeah, you were talking about lists and not arrays...<br>my fault.<br>anyway, i gave him 1 not working solution and 2 working, that's 67% - not too bad <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Fri Dec 17, 2004 4:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-16T11:39:23-04:00</updated>

		<published>2004-12-16T11:39:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44066#p44066</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44066#p44066"/>
		<title type="html"><![CDATA[Moving back one line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44066#p44066"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>$lines($current_index - 1)</code></pre></div></div></blockquote>that won't work<br><br>here's what I had in mind:<div class="codebox"><p>Code: </p><pre><code>set status [lindex $lines [expr [lsearch $lines "*Main name*"] - 1]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Dec 16, 2004 11:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2004-12-16T10:38:21-04:00</updated>

		<published>2004-12-16T10:38:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44065#p44065</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44065#p44065"/>
		<title type="html"><![CDATA[Moving back one line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44065#p44065"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>incr current_index -1</code></pre></div><div class="codebox"><p>Code: </p><pre><code>[expr $current_index - 1]</code></pre></div>or just use<div class="codebox"><p>Code: </p><pre><code>$lines($current_index - 1)</code></pre></div><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Thu Dec 16, 2004 10:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SomeGuy]]></name></author>
		<updated>2004-12-16T09:53:44-04:00</updated>

		<published>2004-12-16T09:53:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44064#p44064</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44064#p44064"/>
		<title type="html"><![CDATA[Moving back one line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44064#p44064"><![CDATA[
Can you just post an example on how I would use index to dynamically choose lines?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4901">SomeGuy</a> — Thu Dec 16, 2004 9:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-15T21:24:52-04:00</updated>

		<published>2004-12-15T21:24:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44056#p44056</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44056#p44056"/>
		<title type="html"><![CDATA[Moving back one line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44056#p44056"><![CDATA[
read the webpage line by line in a list; then you can access any line by index<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Dec 15, 2004 9:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SomeGuy]]></name></author>
		<updated>2004-12-15T20:57:47-04:00</updated>

		<published>2004-12-15T20:57:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44055#p44055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44055#p44055"/>
		<title type="html"><![CDATA[Moving back one line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44055#p44055"><![CDATA[
I'm trying to parse a webpage, and basically the main name is on the second line, while the status is on the previous line.<br><br>Now my script parses the webpage, finds the main name, but now i need to move up one line to catch the status.<br><br>ie,<br><br>&lt;img src=up.gif&gt;&lt;br&gt;<br>&lt;font size=3&gt;Main name&lt;/font&gt;<br><br>Now, my script allows for adding and deleting of different names, so it needs to do this in the while loop, now, I'm pretty sure I can handle everything except this one part, never done anything like this before.<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4901">SomeGuy</a> — Wed Dec 15, 2004 8:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
