egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[REQ] user online timer

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
guest
Halfop


Joined: 19 Jan 2004
Posts: 52

PostPosted: Mon Mar 20, 2006 6:59 am    Post subject: [REQ] user online timer Reply with quote

Hey ppl, i'd like a scriptie which would count users online time in a channel...
Any suggestions welcome.

thnx
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Mar 20, 2006 9:42 am    Post subject: Re: [REQ] user online timer Reply with quote

guest wrote:
Hey ppl, i'd like a scriptie which would count users online time in a channel...
Any suggestions welcome.

thnx

What do you mean?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
r0t3n
Owner


Joined: 31 May 2005
Posts: 507
Location: UK

PostPosted: Mon Mar 20, 2006 11:44 am    Post subject: Reply with quote

I think he means a script to record the online time of every user on a channel.
_________________
r0t3n @ #r0t3n @ Quakenet
Back to top
View user's profile Send private message MSN Messenger
guest
Halfop


Joined: 19 Jan 2004
Posts: 52

PostPosted: Mon Mar 20, 2006 1:31 pm    Post subject: Reply with quote

Tosser^^ wrote:
I think he means a script to record the online time of every user on a channel.


U're right.
Back to top
View user's profile Send private message
whittinghamj
Op


Joined: 21 May 2006
Posts: 103

PostPosted: Wed May 24, 2006 12:42 am    Post subject: Reply with quote

i would also love to play with such a script - anyone have something like this please?
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Wed May 24, 2006 4:26 am    Post subject: Reply with quote

actually the bot stores that information, but however it depends on uptime of the bot and netsplits reset the timer afaik. You simply need to calc:
expr {[unixtime] - [getchanjoin $name $chan]}
to get it... theoretically Very Happy (cool I believe I stumpeled over a bug confirming that). Its recommned to check if the chanjoin is non-zero Very Happy.

Or if you want the total time... stats.mod has a feature for it.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Wed May 24, 2006 11:12 am    Post subject: Reply with quote

Check goldensilence.tcl on egghead's website. Give it a try.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber