Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mon = peripheral.wrap( "right" )
- while true do
- local time = os.time()
- local formattedTime = textutils.formatTime(time, false)
- mon.write("It's: " .. formattedTime)
- sleep(1)
- mon.clear()
- mon.setCursorPos(1,1)
- end
Advertisement
Add Comment
Please, Sign In to add comment