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.

count hours spent +o/+h

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
X
X-Ception
Voice
Posts: 37
Joined: Fri May 20, 2005 3:12 am
Location: Earth
Contact:

count hours spent +o/+h

Post by X-Ception »

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
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

[Reply] 'channel status recoring'

Post by TCL_no_TK »

seems to resore hogging and stuff? :shock: 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?
X
X-Ception
Voice
Posts: 37
Joined: Fri May 20, 2005 3:12 am
Location: Earth
Contact:

Re: [Reply] 'channel status recoring'

Post by X-Ception »

TCL_no_TK wrote:seems to resore hogging and stuff? :shock: 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"
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

This is by no means a simple request. Be faster for you to learn tcl than to wait for someone else to do it =)
X
X-Ception
Voice
Posts: 37
Joined: Fri May 20, 2005 3:12 am
Location: Earth
Contact:

Post by X-Ception »

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
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

way to go 8)
f
fayettemat
Voice
Posts: 27
Joined: Tue Jan 09, 2007 6:10 pm

Post by fayettemat »

nice can you post it here because I think that would be an interesting idea :)
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Re: Re: [Reply] 'channel status recording' (sp)

Post by TCL_no_TK »

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 :)
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

lol its been a while, but i've found a way to do this :) if your still interested let me know. Example:
[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 :P 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.
Post Reply