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

	<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>2005-03-19T01:08:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2005-03-19T01:08:14-04:00</updated>

		<published>2005-03-19T01:08:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47915#p47915</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47915#p47915"/>
		<title type="html"><![CDATA[Uptime (how much a user is online) script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47915#p47915"><![CDATA[
thx a lot <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Sat Mar 19, 2005 1:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2005-03-19T00:38:24-04:00</updated>

		<published>2005-03-19T00:38:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47913#p47913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47913#p47913"/>
		<title type="html"><![CDATA[Uptime (how much a user is online) script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47913#p47913"><![CDATA[
<blockquote class="uncited"><div>Does anybody has any code which does the same?<br><br>Thx</div></blockquote>Hi, some time ago I wrote an onlinetime.tcl. It sends an whois to the server and parses the raw 317. This is what demond suggested.<br><br>Not sure if the method proposed by cerberus does really provide the correct info.<br><br><a href="http://members.fortunecity.com/eggheadtcl" class="postlink">http://members.fortunecity.com/eggheadtcl</a> then onlinetime.tcl (direct linking is not allowed with fortunecity. How unfortunate.)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Sat Mar 19, 2005 12:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2005-03-18T23:46:36-04:00</updated>

		<published>2005-03-18T23:46:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47910#p47910</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47910#p47910"/>
		<title type="html"><![CDATA[Uptime (how much a user is online) script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47910#p47910"><![CDATA[
Does anybody has any code which does the same?<br><br>Thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Fri Mar 18, 2005 11:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-03-11T23:51:06-04:00</updated>

		<published>2005-03-11T23:51:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47454#p47454</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47454#p47454"/>
		<title type="html"><![CDATA[Uptime (how much a user is online) script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47454#p47454"><![CDATA[
heh, well, now <strong class="text-strong">that</strong> is complicated<br><br>you need to sum up all user appearences on the channel by parsing logs, or better yet (and much less complicated) by tracking user's presence on channel with a time counter (start counting when he/she joins, stop counting on quit, part, kick)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Mar 11, 2005 11:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2005-03-11T23:37:05-04:00</updated>

		<published>2005-03-11T23:37:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47453#p47453</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47453#p47453"/>
		<title type="html"><![CDATA[Uptime (how much a user is online) script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47453#p47453"><![CDATA[
Sorry then, because I didn't explain well what i want to do.<br><br>This I want is to save the uptime for each user for every day (24 hours). <br>First of all i want to calculate the uptime of my eggdrop and after the uptime of the other users. And all of these for a day. Every night at 00:00 I just have to parse the logs and create a xml file for the previous day...<br><br>So even if the user was online for 20 hours (from 00:00 until 20:00) and he closed his client at 20:01 and returned to irc at 21:00, i want to have save the 20 hours that he was online.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Fri Mar 11, 2005 11:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-03-11T22:38:21-04:00</updated>

		<published>2005-03-11T22:38:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47450#p47450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47450#p47450"/>
		<title type="html"><![CDATA[Uptime (how much a user is online) script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47450#p47450"><![CDATA[
*shrug*<br><br>searching through logs won't give you person's signon time (that's when he or she has connected to IRC), hence no uptime for you buddy<br><br>and no, obtaining the real signon time (and calculating uptime from it) via WHOIS is not complicated at all<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Mar 11, 2005 10:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2005-03-11T19:13:07-04:00</updated>

		<published>2005-03-11T19:13:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47442#p47442</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47442#p47442"/>
		<title type="html"><![CDATA[Uptime (how much a user is online) script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47442#p47442"><![CDATA[
I think that this is too complicated. Why not to parse the logs?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Fri Mar 11, 2005 7:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-03-11T12:33:20-04:00</updated>

		<published>2005-03-11T12:33:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47431#p47431</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47431#p47431"/>
		<title type="html"><![CDATA[Uptime (how much a user is online) script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47431#p47431"><![CDATA[
you need to remote WHOIS the users and then parse numeric 317 (signon time) reply<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Mar 11, 2005 12:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2005-03-11T02:11:15-04:00</updated>

		<published>2005-03-11T02:11:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47423#p47423</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47423#p47423"/>
		<title type="html"><![CDATA[Uptime (how much a user is online) script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47423#p47423"><![CDATA[
Hello,<br><br>I want to write a script which takes a log file and returns the uptime of some users. <br>This I want is help about the idea.<br><br>I have thought to save all chan users at 00:00 and then the next day on 00:00 to parse the channel log. How to parse it and extract the info I want? What about netsplits?<br><br>thx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Fri Mar 11, 2005 2:11 am</p><hr />
]]></content>
	</entry>
	</feed>
