Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open('left')
- print('Please! Place fuel to 16 slot!')
- while true do
- id, command = rednet.receive()
- print(command)
- if command == 'up' then
- turtle.up()
- end
- if command == 'down' then
- turtle.down()
- end
- if command == 'forward' then
- turtle.forward()
- end
- if command == 'back' then
- turtle.back()
- end
- if command == 'left' then
- turtle.turnLeft()
- elseif command == 'right' then
- turtle.turnRight()
- elseif command == 'fuel' then
- turtle.select(16)
- turtle.refuel()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement