Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Where do you want your turtle to go?")
- local input = read()
- if input == "home" then
- rednet.send(1, input)
- rednet.send(15, input)
- elseif input == "store" then
- rednet.send(1, input)
- rednet.send(15, input)
- elseif input == "outside" then
- rednet.send(1, input)
- elseif input == "lab" then
- rednet.send(1, input)
- elseif input == "hut" then
- rednet.send(1, input)
- elseif input == "hide" then
- rednet.send(1, input)
- elseif input == "storeitems" then
- rednet.send(1, input)
- else
- print("Invalid Location")
- print("Go add it to the programs!")
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment