Thread
:
Chron (updated to 0.2 on 08Aug2006)
View Single Post
Ace Rimmer
Senior Member
Join Date: Apr 2005
07-27-2006 , 19:33 Re: Chron
#
8
Hi L. Duke:
Well I haven't looked closely at this yet but it would be very simple. Something like a cvar for Date Hour Minute Second and possibly a total time since 1970 (I don't know if you're familiar with that concept but it is basically a count in seconds since 1970).
So it would be:
server_var(cron_date) or day or whatever you can add
server_var(cron_hour) -would report the server hour
server_var(cron_munute)
server_var(cron_second)
This way we wouldn't have to add recurring counters in ES or wait fro round starts etc. to check the time.
The server_var(cron_count) could be a a progressive number of seconds as mentioned above.
For example in my clan practise script I have to convert the start time to a number of minutes and the end time to a number of minutes so that I can find the difference between the two.
I hope this makes sense.
I am sorry that my knowledge in this area is limited to event scripts only so what I am asking may be ridiculous.
I must add that I haven't thought this though completely so please don't rush ahead and do it, only for me as it were.
Thanks for your hard work anyway.
:-)
__________________
Smoke me a kipper, I'll be back for breakfast
Main Web Site
-
Ace Rimmer
-
System Information
Ace Rimmer
View Public Profile
Send a private message to Ace Rimmer
Find More Posts by Ace Rimmer