Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function etage()
- turtle.digUp()
- for i=1, X do
- turtle.up()
- h = h+1
- end
- sleep(10)
- while h>0 do
- turtle.down()
- h = h-1
- end
- turtle.placeUp()
- end
- function channel()
- if id == 15 and message == "1er" then
- X = 10
- Y = "1er"
- etage()
- end
- end
- h=0
- while true do
- rs.setOutput("bottom", true)
- rednet.open("right")
- id,message = rednet.receive()
- channel()
- sleep(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement