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

	<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>2003-11-10T18:38:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-10T18:38:55-04:00</updated>

		<published>2003-11-10T18:38:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29836#p29836</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29836#p29836"/>
		<title type="html"><![CDATA[sorted informations]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29836#p29836"><![CDATA[
<blockquote class="uncited"><div>Thanks, but let say i wanted to sort the information by Email?</div></blockquote>To be able to sort something you need to collect it first. And if what you want to sort on is a certain piece of that something you need a way to tell it apart from the rest. Use a list to store the information about each user and  add this list to another list. That way you can sort using 'lsearch' with the -index option.<br><br>Check out <a href="http://tcl.tk/man/tcl8.4/TclCmd/list.htm" class="postlink">list</a>, <a href="http://tcl.tk/man/tcl8.4/TclCmd/lindex.htm" class="postlink">lindex</a>, <a href="http://tcl.tk/man/tcl8.4/TclCmd/lappend.htm" class="postlink">lappend</a> and <a href="http://tcl.tk/man/tcl8.4/TclCmd/lsort.htm" class="postlink">lsort</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Nov 10, 2003 6:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-11-10T11:29:37-04:00</updated>

		<published>2003-11-10T11:29:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29809#p29809</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29809#p29809"/>
		<title type="html"><![CDATA[sorted informations]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29809#p29809"><![CDATA[
Thanks, but let say i wanted to sort the information by Email?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Mon Nov 10, 2003 11:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-11-10T02:19:02-04:00</updated>

		<published>2003-11-10T02:19:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29791#p29791</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29791#p29791"/>
		<title type="html"><![CDATA[sorted informations]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29791#p29791"><![CDATA[
TCL Manual<br><br>commands :<br>open<br>puts<br>close<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Mon Nov 10, 2003 2:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-11-10T00:56:52-04:00</updated>

		<published>2003-11-10T00:56:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29790#p29790</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29790#p29790"/>
		<title type="html"><![CDATA[sorted informations]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29790#p29790"><![CDATA[
Hi,<br><br>i'll apprecite for the help, i am trying to get the bot's known users informations from the userlist and wanted to write to the file, and i wanted to sort it with "person Handle"<br><br>bind pub m .reveiw chan_reveiw<br>proc chan_reveiw {nick uhost hand channel args} {<br> <br>  foreach u [userlist -b+o] {<br>      set ss [getuser $u LASTON]<br>      if {$ss == 0} {set ss -} <br><br>      set e [getuser $u XTRA EMAIL]<br>      if {$e == ""} {set e -}<br><br>      set ssss [getuser $u XTRA HANDLE]<br>      <br>          <br>      putserv "NOTICE $nick : Handle: $ssss"<br>      putserv "NOTICE $nick : Laston:$ss"<br>      putserv "NOTICE $nick : Email:$e"<br>  <br>   <br>  }<br>}<br><br>i don't know how to sort and then write to the file<br> output like<br><br>Handle: xyz<br>Laston: Nov. 10<br>Email: <a href="mailto:email@email.com">email@email.com</a><br><br> then space<br> and then next...<br><br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Mon Nov 10, 2003 12:56 am</p><hr />
]]></content>
	</entry>
	</feed>
