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

	<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-09-06T00:00:39-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-09-06T00:00:39-04:00</updated>

		<published>2004-09-06T00:00:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40607#p40607</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40607#p40607"/>
		<title type="html"><![CDATA[Script that &quot;rewards&quot; time on channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40607#p40607"><![CDATA[
Something like this should definately work.<br>Give it a go and let me know!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> <br><div class="codebox"><p>Code: </p><pre><code>#This will voice the users whose idle time is greater than the defined value.#Usage: !reward#This will be triggered on the channel which you type '!reward' on only if the bot has ops on that channel.### SCRIPT ####Set the idle time in seconds for which the user will be rewarded.set rewardtime "50000"bind pub n !reward reward:idlersproc reward:idlers {nick uhost hand chan text} { global botnick rewardtime  if {([botisop $chan])} {   foreach user [chanlist $chan] {    if {([expr [getchanidle $user $chan]] &gt;= [expr $rewardtime]) &amp;&amp; (![isvoice $user $chan])} {     pushmode $chan +v $user     }   }; return 0  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Sep 06, 2004 12:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-08-31T09:09:47-04:00</updated>

		<published>2004-08-31T09:09:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40460#p40460</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40460#p40460"/>
		<title type="html"><![CDATA[Script that &quot;rewards&quot; time on channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40460#p40460"><![CDATA[
I would like to do it myself, but I don't know how <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">. If there is any simple script that is close to my wanted one, I would adapt it myself, but I haven't found anything. I searched both sites you mentioned, but ther's nothing that seems to suit my requirements. The Idle King script as I see only counts the time the users actually idle, but I want to count the time they stay in my chan. <br><br>MC's on idle script seems to be a bit overloaded for my purposes, but I will give it a try. Thx for that, maybe anbody has antoher suggestion?<p>Statistics: Posted by Guest — Tue Aug 31, 2004 9:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-31T08:44:14-04:00</updated>

		<published>2004-08-31T08:44:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40459#p40459</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40459#p40459"/>
		<title type="html"><![CDATA[Script that &quot;rewards&quot; time on channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40459#p40459"><![CDATA[
Try searching these scripts. I personally have used a few which have most of the requirements you have said. I have alot of idler purpose scripts which I have download over the years, so there not hard to find.<br><br>[1] Download MC_8's On 'Idle tcl'. (MC_8's website)<br>It has alot of features you can customize it.<br><br>[2] Download 'Idle King' another tcl showing the top channel idlers.<br><br>Just goto <a href="http://www.egghelp.org/tcl.htm" class="postlink">www.egghelp.org/tcl.htm</a> or <a href="http://www.tclscript.com" class="postlink">www.tclscript.com</a> and search with the keyword 'idle'.<br><br>If you want more scripts ftp.eggheads.org, go into their tcl archive folder on the ftp, you will have scripts sorted from 1996 onwards upto today, with their corresponding eggdrop versions. (normally the old ones work on the new eggies too!)<br><br>*********<br>You can make one yourself to.<br>One way: Just make the bot do a foreach loop of [chanlist $chan] by a continuous timer say every 1 min or you can bind that to join, part or etc. Then get the users idle times by 'getchanidle &lt;nickname&gt; &lt;channel&gt;', compare them with a defined value if they are greater than your defined value, go ahead and reward them, supponsingly a voice maybe or something like that.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Aug 31, 2004 8:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-08-31T08:32:01-04:00</updated>

		<published>2004-08-31T08:32:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40456#p40456</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40456#p40456"/>
		<title type="html"><![CDATA[Script that &quot;rewards&quot; time on channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40456#p40456"><![CDATA[
I'm searching for a script that rewards people that stay on my channel for a long time. I've found the Idle RPG Bot, but I don't have the opportunity to host it. <br><br>So does anybody know a Eggdrop Script that counts the overall time of users on my channel and give them some sort of reward? Or even a script that only shows the amount of time of the top5 or so people? I've only found stat scripts that put out a webpage (I don't need that because my shellprovider doesn't support it) or only count the time of the users actual visit. <br><br>Thx, unleashed<p>Statistics: Posted by Guest — Tue Aug 31, 2004 8:32 am</p><hr />
]]></content>
	</entry>
	</feed>
