Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- a=0
- function subir()
- while rs.getInput("back")==false do
- shell.run("redpulse left 1 0.01")
- shell.run("redpulse bottom 1 0.01")
- end
- end
- while a==0 do
- fodase1,mensagem,fodase2=rednet.receive(999999999)
- if mensagem=="subir" then
- subir()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement