This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

[REQ] user online timer

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
g
guest
Halfop
Posts: 52
Joined: Mon Jan 19, 2004 4:15 pm

[REQ] user online timer

Post by guest »

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

thnx
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Re: [REQ] user online timer

Post by Sir_Fz »

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?
r
r0t3n
Owner
Posts: 507
Joined: Tue May 31, 2005 6:56 pm
Location: UK

Post by r0t3n »

I think he means a script to record the online time of every user on a channel.
r0t3n @ #r0t3n @ Quakenet
g
guest
Halfop
Posts: 52
Joined: Mon Jan 19, 2004 4:15 pm

Post by guest »

Tosser^^ wrote:I think he means a script to record the online time of every user on a channel.
U're right.
w
whittinghamj
Op
Posts: 103
Joined: Sun May 21, 2006 4:50 pm

Post by whittinghamj »

i would also love to play with such a script - anyone have something like this please?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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 :D (cool I believe I stumpeled over a bug confirming that). Its recommned to check if the chanjoin is non-zero :D.

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...
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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.
Post Reply