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

	<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>2007-10-24T13:35:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-24T13:35:30-04:00</updated>

		<published>2007-10-24T13:35:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77078#p77078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77078#p77078"/>
		<title type="html"><![CDATA[Online Time Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77078#p77078"><![CDATA[
Where should it "register" the information? Data format/layout?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Oct 24, 2007 1:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Hellboarder]]></name></author>
		<updated>2007-10-24T13:20:04-04:00</updated>

		<published>2007-10-24T13:20:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77077#p77077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77077#p77077"/>
		<title type="html"><![CDATA[Online Time Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77077#p77077"><![CDATA[
hm think its not clear what the script should do^^<br><br>It should register the complete time a user was on the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9392">Hellboarder</a> — Wed Oct 24, 2007 1:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-24T11:44:09-04:00</updated>

		<published>2007-10-24T11:44:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77072#p77072</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77072#p77072"/>
		<title type="html"><![CDATA[Online Time Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77072#p77072"><![CDATA[
I guess something like this should do the trick:<div class="codebox"><p>Code: </p><pre><code>#Returns the number of seconds nick has been visiting channelproc onlinetime {nick channel} { return [expr [clock seconds] - [getchanjoin $nick $channel]]}</code></pre></div><div class="codebox"><p>Code: </p><pre><code>#Sends message to all members of channel who joined more than 48hours agoproc checkjoined {channel message} { set threshold [expr [clock seconds] - 172800] foreach nick [chanlist $channel] {  if {[getchanjoin $nick $channel] &lt; $threshold} {   puthelp "PRIVMSG $nick :$message"  } }}</code></pre></div>You'll most likely need some glue-code to implement this...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Oct 24, 2007 11:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Hellboarder]]></name></author>
		<updated>2007-10-24T11:13:54-04:00</updated>

		<published>2007-10-24T11:13:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77069#p77069</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77069#p77069"/>
		<title type="html"><![CDATA[Online Time Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77069#p77069"><![CDATA[
Nobody an idea ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9392">Hellboarder</a> — Wed Oct 24, 2007 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Hellboarder]]></name></author>
		<updated>2007-10-22T13:18:38-04:00</updated>

		<published>2007-10-22T13:18:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77017#p77017</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77017#p77017"/>
		<title type="html"><![CDATA[Online Time Counter]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77017#p77017"><![CDATA[
Hi all<br><br>First : Sorry for bad english <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>Im searching for a script which counts the online times of all users in a channel the past 7 days.<br><br>Then it should send a message to all users who were at least 48 hours in the channel.<br><br><br>Greets Hellboarder<br><br>PS : If this is to complicated , an script which does only the first part whould help me too<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9392">Hellboarder</a> — Mon Oct 22, 2007 1:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
