Posted 14 November 2014 - 03:55 AM
                Im making a drive thru with ae2 and computercraft and i cant get this code to work plz help
 
                
                    
rednet.open("back")
function clear()
  term.clear()
  term.setCursorpos(1,1)
end
clear()
term.write("Are you at the drive thru?: ")
Thru = read()
if Thru == "Yes" or "yes" then
  clear()
  print("Menu:")
  term.setCursorPos(4,1)
  print("Hamburger")
  print("Cheese Burger")
  print("PB&J")
  print("Grilled Cheese")
  print("Coffee")
  print("Choose One: ")
  choice = read()
  rednet.broadcast(choice)
  sleep(2)
  clear()
  print("Thanks for using the Drive Thru!")
  end
else:
  clear()
  print("Enjoy your day!")
  sleep(2)
Edited on 14 November 2014 - 03:00 AM