Ah, now the clock code is very extensive, so I will post a general version of it.
The event is a Parallel Process event
Code:
<>Wait 1 sec
<>Var Oper: [Seconds] +1
<>Branch if Var: [Seconds] is 60 or more
<>Var Oper: [Minutes] +1
<>Var Oper: [Seconds] Set 0
<>Branch if Var: [Minutes] is 60 or more
<>Var Oper: [Hours] +1
<>Var Oper: [Minutes] Set 0
<>Var Oper: [Seconds] Set 0
The clock I coded also includes Days, Months and Years (30 days per month, though.), and it is also set to change seasons based on the month, but this is the basic version of my clock. BTW, the wait command won't stop the hero from moving, what it does is count off the seconds and add 1 to the Variable seconds. After the Seconds variable hits 60, it resets and 1 is added to the vairable minutes. After that hits 60, it will add 1 to the variable hours and reset both minutes and seconds. If you want to go further, once the hours variable hits 24, reset it and add 1 to the day variable, and so on...
Hope this helps...