Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- m = peripheral.wrap("top")
- if rs.getInput("left",true) ==true then
- shell.run("cd disk")
- shell.run("monitor top battleship")
- mon.clear()
- mon.setCursorPos(1'1)
- else
- sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement