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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
guest
Halfop
Posts: 52 Joined: Mon Jan 19, 2004 4:15 pm
Post
by guest » Mon Mar 20, 2006 6:59 am
Hey ppl, i'd like a scriptie which would count users online time in a channel...
Any suggestions welcome.
thnx
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Mon Mar 20, 2006 9:42 am
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?
r0t3n
Owner
Posts: 507 Joined: Tue May 31, 2005 6:56 pm
Location: UK
Post
by r0t3n » Mon Mar 20, 2006 11:44 am
I think he means a script to record the online time of every user on a channel.
r0t3n @ #r0t3n @ Quakenet
guest
Halfop
Posts: 52 Joined: Mon Jan 19, 2004 4:15 pm
Post
by guest » Mon Mar 20, 2006 1:31 pm
Tosser^^ wrote: I think he means a script to record the online time of every user on a channel.
U're right.
whittinghamj
Op
Posts: 103 Joined: Sun May 21, 2006 4:50 pm
Post
by whittinghamj » Wed May 24, 2006 12:42 am
i would also love to play with such a script - anyone have something like this please?
De Kus
Revered One
Posts: 1361 Joined: Sun Dec 15, 2002 11:41 am
Location: Germany
Post
by De Kus » Wed May 24, 2006 4:26 am
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
(cool I believe I stumpeled over a bug confirming that). Its recommned to check if the chanjoin is non-zero
.
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...
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Wed May 24, 2006 11:12 am
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.