Advertisement
Nesltay

Mining Turtle - Remote Startup

Feb 23rd, 2022
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. term.write("Waiting for instructions")
  4. rednet.open("left")
  5. while true do
  6. senderID, message, distance = rednet.receive()
  7. if message == "exit" then
  8. break
  9. end
  10. shell.run(message)
  11. end
  12. rednet.close("left")
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement