Fantasy Worlds Icon

Generic Clock



@create #565 named WristWatch

Description

Your basic clock. Be sure to describe it appropriately. The time of day is displayed at the bottom of the clock's description whenever someone looks at it.

Commands

Look WristWatch Displays the watch's description followed by the current time of day.

Uses

Pretty simple right now, but you never know. A wristwatch is a handy tool.

Programming

This is an example of how to use the MOO's $time_utils set of utilities. Note that the time returned will always be the MOO's time. The MOO is located in the Eastern Standard Time Zone which is -0500 GMT.

The Generic Clock could be reparented with the Generic Active Object to make a clock that chimes the hours or otherwise acts independently.

Back


Last Updated: 07 January 2001
This webpage is maintained by Kit Finn (director@tagfam.org)