Posted 10 April 2016 - 12:36 AM
I'm trying to make a real life clock. So It will display my GMT time in minecraft without using a link http
term.clear()
term.setCursorPos(1, 1)
timeH = 1
timeM = 20
timeS = 0
if timeS == '60' then
timeM = timeM + 1
timeS = timeS - 60
if timeM == '60' then
timeH = timeH + 1
timeM = timeM - 60
if timeH == '23' and timeM == '60' then
timeH = timeH - 23
if timeM == '59' and timeS == '60' then
timeH = timeM - 59
term.write(timeH)
term.write(timeM)
term.write(timeS)
sleep(5)
end
end
end
end