| View previous topic :: View next topic |
| Author |
Message |
X-Ception Voice
Joined: 20 May 2005 Posts: 37 Location: Earth
|
Posted: Sun Jan 21, 2007 9:50 am Post subject: count hours spent +o/+h |
|
|
a while ago i asked for some help on this i cant find the original post and i still havent got any closer to getting it done.. In short on channel op/halfop o/h count the time the user is half(opped) for and end of the month write everyones global time opping to a file and stat again
something like
nick1 spent 5 hours opping and 3 hours as a halfop in the month of december
nick2 spent 10 hours opping and 1 hours as a halfop in the month of december
nick3 spent 1 hours opping and 0 hours as a halfop in the month of december |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Sun Mar 04, 2007 2:19 am Post subject: [Reply] 'channel status recoring' |
|
|
seems to resore hogging and stuff? Just offering a simpler sulution here. how about a login/logout system ...maybe based from when nick(no.) gets Op'ed/HalfOp'ed and use that? _________________ TCL the misunderstood |
|
| Back to top |
|
 |
X-Ception Voice
Joined: 20 May 2005 Posts: 37 Location: Earth
|
Posted: Sun Mar 04, 2007 3:20 am Post subject: Re: [Reply] 'channel status recoring' |
|
|
| TCL_no_TK wrote: | seems to resore hogging and stuff? Just offering a simpler sulution here. how about a login/logout system ...maybe based from when nick(no.) gets Op'ed/HalfOp'ed and use that? |
as such that what it is, but still needs to count "how long logged in" |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Mar 04, 2007 2:23 pm Post subject: |
|
|
| This is by no means a simple request. Be faster for you to learn tcl than to wait for someone else to do it =) |
|
| Back to top |
|
 |
X-Ception Voice
Joined: 20 May 2005 Posts: 37 Location: Earth
|
Posted: Mon Mar 05, 2007 12:23 am Post subject: |
|
|
| rosc2112 wrote: | | This is by no means a simple request. Be faster for you to learn tcl than to wait for someone else to do it =) |
yup i know got it halfway done |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Mar 05, 2007 12:33 am Post subject: |
|
|
way to go  |
|
| Back to top |
|
 |
fayettemat Voice
Joined: 09 Jan 2007 Posts: 27
|
Posted: Mon Mar 05, 2007 1:46 pm Post subject: |
|
|
nice can you post it here because I think that would be an interesting idea  |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Thu Mar 29, 2007 12:08 am Post subject: Re: Re: [Reply] 'channel status recording' (sp) |
|
|
do ya best! n good luck with the script. I dunno if its relivant but ive been thinking of maybe the easyest way i think this could be done. how about; using timers to log the 'time and date' of when the nick was opped/halfoped in the channel, adding that to a file and printing it when triggered, still as a mountly thing. This is more an idea, but i hope helps. And again, do ya best  _________________ TCL the misunderstood |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Sun May 04, 2008 10:01 pm Post subject: |
|
|
lol its been a while, but i've found a way to do this if your still interested let me know. Example: | Quote: | [02:44:52] <@Me> !start
[02:44:55] <@Bot> Ok, started couting.
[02:47:15] <@Me> !stop
[02:47:16] <@Bot> Count: 3 minutes 37 seconds | basicly a stop watch and really simple supprisingly. And on an other note about the resource usage of this script, i dont think it would be as great as what was expected. _________________ TCL the misunderstood |
|
| Back to top |
|
 |
|