Advertisement
albin900

Turtle controller

Dec 9th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. print("Enter turtle id: ")
  2. id = read()
  3. print("Good!")
  4.  
  5. while true do
  6.  
  7.     print("Enter: back | forward | left | right ")
  8.     action = read()
  9.     rednet.send(id,action)
  10.     print("Sending", action, " to ", id)
  11.  
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement