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

	<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-09T00:42:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-04-09T00:42:00-04:00</updated>

		<published>2002-04-09T00:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6085#p6085</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6085#p6085"/>
		<title type="html"><![CDATA[More Noob Problems with   lsort]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6085#p6085"><![CDATA[
'lsort' sorts lists<br><br>'array names' returns the names of an array<br><br>You didn't describe how your arrays are set up, so it's hard to tell, but $planet($nickname $text) is most likely wrong. That means you have an array called planets, and the values in the array are actually names of other arrays. If you have such a complicated system of arrays, maybe you should use a different format. I can't really recommend one because it's hard to tell what you're trying to do.<br><br>Anyway, lsort -index x means that each element in the list is actually a sublist, and it sorts it using the x'th element of the sublist. Maybe that's what's wrong.<br><br>The more details you provide, the easier it is to help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Apr 09, 2002 12:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-08T18:28:00-04:00</updated>

		<published>2002-04-08T18:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6079#p6079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6079#p6079"/>
		<title type="html"><![CDATA[More Noob Problems with   lsort]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6079#p6079"><![CDATA[
ok, i'm trying to using <br>[lsort -integer -index 1 [array names $planet($hand $text)] ] <br>$planet($hand $text) returns a name then a number<br>$text $hand returns the opposite, <br>both should be on the same line, <br>and i want to sort it like<br>lsort -integer -index 1 {{Planet# User}} {{Planet# User}} and by theory:<br>[lsort -integer -index 1 [array names $planet($text $hand)] ] should return Planet# and User, it returns the error of  "planet(Nickname )": no such element in array, i'm a new at working with arrays and i'm probably using the wrong command, i'm lost, please have a little patience and put me on the right path...<br><br>&lt;font size=-1&gt;[ This Message was edited by: Kry0420 on 2002-04-08 16:30 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Mon Apr 08, 2002 6:28 pm</p><hr />
]]></content>
	</entry>
	</feed>
