Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitor = peripheral.wrap("back")
- term.redirect(monitor)
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- while true do
- sleep(0)
- monitor.clear()
- term.setCursorPos(1,1)
- write("World Time")
- monitor.setTextScale(4)
- term.setCursorPos(2,2)
- write(" " .. textutils.formatTime(os.time(), true))
- end
- term.restore()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement