egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

count hours spent +o/+h

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
X-Ception
Voice


Joined: 20 May 2005
Posts: 37
Location: Earth

PostPosted: Sun Jan 21, 2007 9:50 am    Post subject: count hours spent +o/+h Reply with quote

a while ago i asked for some help on this i cant find the original post Sad 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
View user's profile Send private message Visit poster's website
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun Mar 04, 2007 2:19 am    Post subject: [Reply] 'channel status recoring' Reply with quote

seems to resore hogging and stuff? Shocked 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
View user's profile Send private message Send e-mail
X-Ception
Voice


Joined: 20 May 2005
Posts: 37
Location: Earth

PostPosted: Sun Mar 04, 2007 3:20 am    Post subject: Re: [Reply] 'channel status recoring' Reply with quote

TCL_no_TK wrote:
seems to resore hogging and stuff? Shocked 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
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Mar 04, 2007 2:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
X-Ception
Voice


Joined: 20 May 2005
Posts: 37
Location: Earth

PostPosted: Mon Mar 05, 2007 12:23 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Mar 05, 2007 12:33 am    Post subject: Reply with quote

way to go Cool
Back to top
View user's profile Send private message
fayettemat
Voice


Joined: 09 Jan 2007
Posts: 27

PostPosted: Mon Mar 05, 2007 1:46 pm    Post subject: Reply with quote

nice can you post it here because I think that would be an interesting idea Smile
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Thu Mar 29, 2007 12:08 am    Post subject: Re: Re: [Reply] 'channel status recording' (sp) Reply with quote

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 Smile
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun May 04, 2008 10:01 pm    Post subject: Reply with quote

lol its been a while, but i've found a way to do this Smile 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 Razz and really simple Neutral 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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber