Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local monitor = peripheral.wrap("top")
- monitor.setTextScale(1)
- term.clear()
- term.setCursorPos(1,1)
- local nTime = os.time()
- local nDay = os.day()
- print("" .. textutils.formatTime(nTime, false))
- print("Day " .. nDay)
- sleep(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment