Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while true do
- local sender, msg, pt = rednet.receive()
- if msg == "w" then
- turtle.forward()
- end
- if msg == "s" then
- turtle.back()
- end
- if msg == "a" then
- turtle.turnLeft()
- end
- if msg == "d" then
- turtle.turnRight()
- end
- if msg == "tunnel" then
- shell.tunnel(33)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement