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

	<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-17T14:06:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-11-17T14:06:40-04:00</updated>

		<published>2003-11-17T14:06:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30192#p30192</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30192#p30192"/>
		<title type="html"><![CDATA[Re: idleking]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30192#p30192"><![CDATA[
<blockquote class="uncited"><div>is it posible to make so that you can see the idle record of all time?</div></blockquote>Of course, but using the code you provided as a "base" would not bring you any closer to the goal except from a few of the basics of fetching the idle time from eggdrop's internal chanlist.<br>For a script to store the highest idle time you'll have to check the idle time of anyone quitting/parting the channel against the record and check every user currently on the channel when someone types the !idleking trigger.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Nov 17, 2003 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alexander]]></name></author>
		<updated>2003-11-13T11:50:20-04:00</updated>

		<published>2003-11-13T11:50:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29945#p29945</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29945#p29945"/>
		<title type="html"><![CDATA[idleking]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29945#p29945"><![CDATA[
Hi<br>i have a script that show the leading idle time.<br>my question, is it posible to make so that you can see the idle record of all time?<br>ex.<br>&lt;nick1&gt;!idleking<br>&lt;bot&gt;&lt;nick7&gt; once watched porn movies for 1634 minutes and that is the alltime record.<br><br>this is the script atm<br>###############################################<br>#<br># Idletime<br># <br># Originally named "Idle des jeunes" in French, which is funny as hell.<br>#<br># modify by alex<br>###############################################<br><br><br>bind pub - !idle idle_getnick<br><br><br>proc idle_getnick {nick mask hand chan args} {<br>global botnick<br><br>if {$args == "" || $args == "{}" || ![info exists args]} {<br>set idle_max_idle "0"<br>set idle_max_idle_nick "Q"<br>foreach mec [chanlist $chan] {<br>set idle_idle [getchanidle $mec $chan]<br>if {$idle_idle &gt; $idle_max_idle &amp;&amp; $mec != $botnick} {set idle_max_idle $idle_idle ; set idle_max_idle_nick $mec}<br>}<br>putchan $chan "$idle_max_idle_nick, has been watching porn movies for $idle_max_idle minutes and is the current record holder. aka The_PornKing"<br>} else {<br>if {$args == $botnick} {<br>putchan $chan "Idle for about... 3 days, but I've been sleeping a lot."<br>return 71<br>}<br>if {[string toupper $args] == [string toupper $nick]} {<br>putchan $chan "Ahah. Verry funny."<br>return 72<br>}<br>if {![onchan $args $chan]} {<br>regsub "{" $args "" args<br>regsub "}" $args "" args<br>putchan $chan "$args last spoke on March 1986 <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">"<br>return 73<br>}<br>set idle [getchanidle $args $chan]<br>if {$idle == 0} {<br>putchan $chan "Errrr... $args *just* talked right now :/"<br>} else {<br>putchan $chan "$args has been idle for $idle minutes :/"<br>}<br>}<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3343">Alexander</a> — Thu Nov 13, 2003 11:50 am</p><hr />
]]></content>
	</entry>
	</feed>
