Advertisement
lewislovesgames

Untitled

Mar 6th, 2014
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. print("open rednet")
  2. rednet.open("back")
  3.  
  4. while true do
  5. print("Ask if positioned")
  6. write("Positioned? Write yes if you are: ")
  7.  
  8. answer = read()
  9.  print("check answer")
  10. if answer:lower() == "yes" then
  11.  
  12. --     if answer == "Yes" or answer == "yes" then
  13.  print("send rednet to computer 24 with message order")
  14.    rednet.send(24 , "order")
  15.  
  16. end
  17.  
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement