Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- print("remote reciever turtle")
- print("move op and down with the z, q, s, d and up and down with the a and z keys")
- print("this is made for an azerty keyboard change the keybinds if you have a qwerty or other keyboard here")
- --you can find the controller script online on my pastebin account
- while 1 do
- sender, action, proces = rednet.receive()
- print(action)
- if action=="q" then --left
- turtle.turnLeft()
- elseif action=="d" then --right
- turtle.turnRight()
- elseif action=="z" then --forward
- turtle.forward()
- elseif action=="a" then --up
- turtle.up()
- elseif action=="e" then --down
- turtle.down()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement