Posted 16 March 2013 - 03:00 AM
I am updated to the latest CC version with MC 1.5 and I have made an very short program wich shows the time on an monitor,but when I exit it,The computer is working but whenever I click,or type something in,its not taking it.And im sur-known bug or what? its not lag…So,is this an known bug or what?And its not something with the program for sure,cause it exits sucseffuly….But whats wrong?
As cloudy requested…The code:
As cloudy requested…The code:
m = peripheral.wrap("right")
while true do
m.clear()
m.setCursorPos(3,3)
m.setTextColor(colors.white)
m.setBackgroundColor(colors.lightBlue)
m.clear()
m.write("Time:")
local time = os.time()
m.setTextColor(colors.red)
m.write(textutils.formatTime(time,false))
local day = os.day()
m.setCursorPos(6,5)
m.setTextColor(colors.white)
m.write("Day:")
m.setTextColor(colors.red)
m.write(day)
sleep(1)
end