Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitors = peripheral.find("monitor")
- counter = 1
- monitors.clear()
- monitors.setCursorPos(1,1)
- function newLine()
- local x
- local y
- x, y = monitors.getCursorPos()
- y = y + 1
- monitors.setCursorPos(1,y)
- end
- while counter < 11 do
- monitors.write(counter)
- newLine()
- counter = counter + 1
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment