Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while true do
- id,cmd = rednet.receive()
- if (cmd == "w") then
- turtle.forward()
- if (cmd == "q") then
- turtle.turnLeft()
- if (cmd == "d") then
- turtle.turnRight()
- if (cmd == "s") then
- turtle.back()
- if (cmd == "c") then
- turtle.dig()
- if (cmd == "u") then
- turtle.up()
- if (cmd == "j") then
- turtle.down()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement