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

	<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-07-24T01:33:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-24T01:33:10-04:00</updated>

		<published>2004-07-24T01:33:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39014#p39014</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39014#p39014"/>
		<title type="html"><![CDATA[maybe its not full code of part tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39014#p39014"><![CDATA[
i will paste more ...<br>------------------------<br>    # build list<br>    if {$entries == 0} {<br>lappend lines "0,2Highscore list is empty."<br>    } else {<br>if {$length &gt; $quizconf(maxranklines)} {<br>    set length $quizconf(maxranklines)<br>#    lappend lines "Your requested too many lines, limiting to<br>$quizconf(maxranklines)."<br>}<br>lappend lines "0,2Highscore Current Top $length:"<br>set pos 1<br>set prevscore 0<br>foreach u [lsort -command mx_sortrank [array names userlist]] {<br>    array set aa $userlist($u)<br>    if {$aa(score) == 0} { break }<br>    if {$pos &gt; $length &amp;&amp; $aa(score) != $prevscore} { break }<br><br>    if {$aa(score) == $prevscore} {<br>set text "= " <br>    } else {<br>set text [format "%2d " $pos]<br>    }<br>    set text [format "$text %12s :: %5d pts." $u $aa(score)]<br>    if {$pos == 1} {<br>set text "$text"<br>    }<br>    lappend lines $text<br>    set prevscore $aa(score)<br>    incr pos<br>}<br>lappend lines "0,2Rank started [mx_duration $timerankreset] ago."<br>    }<br><br>    # spit lines<br>    foreach line $lines {<br>if {$how == "NOTC"} {<br>    mxirc_say $where $line<br>#    mxirc_notc $where $line<br><br>} else {<br>    mxirc_say $where $line<br>}<br>    }<br><br>    return 1<br>}<br>--------------------------------<br><br>couz I dont get you.. i am newbies.. maybe u can try give me a snipet code ir cgane it.. thanks fo the advance<p>Statistics: Posted by Guest — Sat Jul 24, 2004 1:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-07-23T11:12:57-04:00</updated>

		<published>2004-07-23T11:12:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38994#p38994</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38994#p38994"/>
		<title type="html"><![CDATA[Rank horizontal]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38994#p38994"><![CDATA[
Add all the needed info in to a variable and then spit in to the channel the variable. If you want more info we need to see the part where it sends info to the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jul 23, 2004 11:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-07-23T08:50:15-04:00</updated>

		<published>2004-07-23T08:50:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38993#p38993</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38993#p38993"/>
		<title type="html"><![CDATA[Rank horizontal]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38993#p38993"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>        if {$length &gt; $quizconf(maxranklines)} {            set length $quizconf(maxranklines)#           lappend lines "Your requested too many lines, limiting to$quizconf(maxranklines)."        }        lappend lines "^C4Highscore Current Top $length:"        set pos 1        set prevscore 0        foreach u [lsort -command mx_sortrank [array names userlist]] {            array set aa $userlist($u)            if {$aa(score) == 0} { break }            if {$pos &gt; $length &amp;&amp; $aa(score) != $prevscore} { break }            if {$aa(score) == $prevscore} {                set text "= "            } else {                set text [format "%2d " $pos]            }            set text [format "$text %12s :: %5d pts." $u $aa(score)]            if {$pos == 1} {                set text "$text"            }            lappend lines $text            set prevscore $aa(score)            incr pos        }        lappend lines "^C4Rank started [mx_duration $timerankreset] ago."    }</code></pre></div>that is viewed :<br>--------<br>Highscore Current Top 10:<br>1          dono ::    26 pts.<br>2     Wild-Arms ::     3 pts.<br>Rank started 1 hour 23 minutes 21 seconds ago.<br>----------<br>but i want to make the score is horizontal like..<br>---------------<br>Top 10: 1.dono:26 pts.  2.Wild-Arms:3 pts.<br>--------<br><br>any idea ? thanks for the advance...<p>Statistics: Posted by Guest — Fri Jul 23, 2004 8:50 am</p><hr />
]]></content>
	</entry>
	</feed>
