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

	<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-11-21T20:10:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[sublime-]]></name></author>
		<updated>2010-11-21T20:10:17-04:00</updated>

		<published>2010-11-21T20:10:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95161#p95161</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95161#p95161"/>
		<title type="html"><![CDATA[can some1 help me with this one :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95161#p95161"><![CDATA[
hi, i find this tcl - <div class="codebox"><p>Code: </p><pre><code>##############################################################################################                                                                                           ## Idle Top 5!                                                                               ## Based on Idle King script by Ozh.                                                         ## That script was originally named "Idle des jeunes" in French, which is funny as hell.     ##                                                                                           ## Contact stuff :                                                                           ## TrashF, TrashF@iki.fi, QuakeNet.                                                          ##                                                                                          ###############################################################################################just type !idle on channel to get the top 5 idlersbind pub - !idle idle_getnickproc idle_getnick {nick mask hand chan args} {global botnickset idlaajia 0set idle_1 "0"set idle_2 "0"set idle_3 "0"set idle_4 "0"set idle_5 "0"set idle_1_nick "N/A"set idle_2_nick "N/A"set idle_3_nick "N/A"set idle_4_nick "N/A"set idle_5_nick "N/A"foreach mec [chanlist $chan] {set idle_idle [getchanidle $mec $chan]if {$idle_idle &gt; $idle_1 &amp;&amp; $mec != $botnick &amp;&amp; $mec != "L"} {set idle_1 $idle_idle ; set idle_1_nick $mec ; incr idlaajia }}foreach mec [chanlist $chan] {set idle_idle [getchanidle $mec $chan]if {$idle_idle &gt; $idle_2 &amp;&amp; $mec != $idle_1_nick &amp;&amp; $mec != $botnick &amp;&amp; $mec != "L"} {set idle_2 $idle_idle ; set idle_2_nick $mec ; incr idlaajia}}foreach mec [chanlist $chan] {set idle_idle [getchanidle $mec $chan]if {$idle_idle &gt; $idle_3 &amp;&amp; $mec != $idle_1_nick &amp;&amp; $mec != $idle_2_nick &amp;&amp; $mec != $botnick &amp;&amp; $mec != "L"} {set idle_3 $idle_idle ; set idle_3_nick $mec ; incr idlaajia}}foreach mec [chanlist $chan] {set idle_idle [getchanidle $mec $chan]if {$idle_idle &gt; $idle_4 &amp;&amp; $mec != $idle_1_nick &amp;&amp; $mec != $idle_2_nick &amp;&amp; $mec != $idle_3_nick &amp;&amp; $mec != $botnick &amp;&amp; $mec != "L"} {set idle_4 $idle_idle ; set idle_4_nick $mec ; incr idlaajia}}foreach mec [chanlist $chan] {set idle_idle [getchanidle $mec $chan]if {$idle_idle &gt; $idle_5 &amp;&amp; $mec != $idle_1_nick &amp;&amp; $mec != $idle_2_nick &amp;&amp; $mec != $idle_3_nick &amp;&amp; $mec != $idle_4_nick &amp;&amp; $mec != $botnick &amp;&amp; $mec != "L"} {set idle_5 $idle_idle ; set idle_5_nick $mec ; incr idlaajia}}#here you can change the output method if you want.if {$idlaajia &gt; "5"} {set idlaajia 5}putchan $chan "# Idle Top $idlaajia at $chan #"if {$idle_1_nick != "N/A"} { putchan $chan "# $idle_1 minutes &lt;-- $idle_1_nick" }if {$idle_2_nick != "N/A"} { putchan $chan "# $idle_2 minutes &lt;-- $idle_2_nick" }if {$idle_3_nick != "N/A"} { putchan $chan "# $idle_3 minutes &lt;-- $idle_3_nick" }if {$idle_4_nick != "N/A"} { putchan $chan "# $idle_4 minutes &lt;-- $idle_4_nick" }if {$idle_5_nick != "N/A"} { putchan $chan "# $idle_5 minutes &lt;-- $idle_5_nick" }}putlog "Idle Top 5 by TrashF @ QNet loaded."</code></pre></div>but i dont want to show me MAX idle i want to show me people with MINIMUM idle in the channel can some1 fix it for me? Thanks a lot!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11428">sublime-</a> — Sun Nov 21, 2010 8:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
