| View previous topic :: View next topic |
| Author |
Message |
guest Halfop
Joined: 19 Jan 2004 Posts: 52
|
Posted: Mon Mar 20, 2006 6:59 am Post subject: [REQ] user online timer |
|
|
Hey ppl, i'd like a scriptie which would count users online time in a channel...
Any suggestions welcome.
thnx |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Mar 20, 2006 9:42 am Post subject: Re: [REQ] user online timer |
|
|
| 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 |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Mon Mar 20, 2006 11:44 am Post subject: |
|
|
I think he means a script to record the online time of every user on a channel. _________________ r0t3n @ #r0t3n @ Quakenet |
|
| Back to top |
|
 |
guest Halfop
Joined: 19 Jan 2004 Posts: 52
|
Posted: Mon Mar 20, 2006 1:31 pm Post subject: |
|
|
| 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 |
|
 |
whittinghamj Op
Joined: 21 May 2006 Posts: 103
|
Posted: Wed May 24, 2006 12:42 am Post subject: |
|
|
| i would also love to play with such a script - anyone have something like this please? |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Wed May 24, 2006 4:26 am Post subject: |
|
|
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... |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Wed May 24, 2006 11:12 am Post subject: |
|
|
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 |
|
 |
|