2008-09-11 aiiane <aiiane>
* Clock.lua Clock.mod Clock.xml
Added options: to set an option, use /script ClockSettings.OPTION =
VALUE
-- Hours: the number of hours the clock displays (default = 24;
possible values are 12, 24)
-- AmPm: whether AM/PM text is displayed after the time (default =
true, possible values are true, false)
-- Format: the precise format of the time display, in Lua format()
wstring (default = L"%2d:%02d:%02d")
-- R: Red component of color (default = 255, possible values 0-255)
-- G: Blue component of color (default = 255, possible values 0-255)
-- B: Green component of color (default = 255, possible values 0-255)
Example (displays AM/PM suffix): /script ClockSettings.AmPm = true
[e3b1d2d09bd7] [1.2]