mob/proc
Clock()
spawn(5)
if(hour == 12 && second1 == 0 && second2 == 0 && ampm == 0)
gday+=1
world << "<font color=red><b>The date is currently: <font color=blue>[gdate] [gday]"
Calendar()
if(hour == 1 && second1 == 0 && second2 == 0 && ampm == 0)
ampm=1
if(minute1 != 6)
if(second1 != 6)
if(second2 != 9)
second2++
Clock()
else
second1++
second2 = 0
Clock()
else
second1 = 0
second2 = 0
if(minute2 != 9)
minute2++
Clock()
else
minute1++
minute2 = 0
Clock()
else
minute1 = 0
minute2 = 0
if(hour != 12)
hour++
Clock()
else
hour = 1
if(ampm == 0)
ampm = 1
else
ampm = 0
Clock()
Problem description:
It calculates days by minutes instead of 12AM. Any help please?