Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local m = peripheral.wrap("top")
- local sx, sy = m.getSize()
- while true do
- m.clear()
- m.setCursorPos(1, 1)
- m.write(os.day)
- m.setCursorPos(sx-5, 1)
- m.write(os.time)
- m.setCursorPos(1, 2)
- for i=1, sx, 1 do
- m.write("-")
- end
- rednet.open("bottom")
- rednet.close("bottom")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement