The Fairy Garden MUSH

Recent News


Here are some really old news entries that never got migrated to the database.
Return to main news page

86 (NEWS 315) - Time and Date
By Alara: The time and date functions like year() and month_name() have been updated. These functions (listed in +HELP TIME), can now take an argument of a dbref. If this argument is given and the dbref is valid (existing), the function will calculate based on the creation time of that object. In this way you can see in what year you were created.

Of course, these functions ONLY rely on creation time of an object. They do not take your starting age into account, nor do they automatically calculate your age (your creation time based on the PRESENT time). They only calculate at what in-game time the object was created based on the creation time of the first object ever (#0). It's like saying I was born in 1986, not that I'm 25.

Of course, you can always set up a bit of math to calculate an object's age. I could work this into the main equation, but it's a little more work than I'm ready to tackle at the moment.

Oh, and the DATE/SCORE/+FINGER commands have been converted over to account for this new system.

-Alara
--Fri, 18 Nov 2011 23:02:00 MST
| URL
Previous | Next