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

	<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>2010-05-31T08:07:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Elfriede]]></name></author>
		<updated>2010-05-31T08:07:34-04:00</updated>

		<published>2010-05-31T08:07:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93207#p93207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93207#p93207"/>
		<title type="html"><![CDATA[change line output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93207#p93207"><![CDATA[
many thanks ! <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=9204">Elfriede</a> — Mon May 31, 2010 8:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2010-05-31T07:51:38-04:00</updated>

		<published>2010-05-31T07:51:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93205#p93205</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93205#p93205"/>
		<title type="html"><![CDATA[change line output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93205#p93205"><![CDATA[
Suppose $mylist is the list containing your data (I assume it's a list of lists). You can do the following:<div class="codebox"><p>Code: </p><pre><code>set output ""foreach element $mylist { # $element is a list containing {"Name" "Score"} foreach {a b} $element {break} append output "${a}: $b "}# now $output is a string containing the data in your desired form</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon May 31, 2010 7:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Elfriede]]></name></author>
		<updated>2010-05-31T07:33:36-04:00</updated>

		<published>2010-05-31T07:33:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93204#p93204</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93204#p93204"/>
		<title type="html"><![CDATA[change line output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93204#p93204"><![CDATA[
Hey guys <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>i have a mysql query which gives me eg as result:<br><br>{Tom 2} {Simon 67} {Phoenix 8} {Sally 12} {Richard 43} <br><br>how can i manipulate this list to look like <br><br>Tom: 2 Simon: 67 Phoenix: 8 ... ?<br><br>many thanks <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=9204">Elfriede</a> — Mon May 31, 2010 7:33 am</p><hr />
]]></content>
	</entry>
	</feed>
