Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Turtle 68 initializing Portal Creation. Awaiting orders from Computer 66.")
- rednet.open("right")
- while true do
- local sendID,mess,dist=rednet.receive()
- local i = tonumber(mess)
- if sendID == 66 then
- print("Opening portal #"..mess)
- turtle.select(i)
- turtle.drop()
- sleep(8)
- rs.setBundledOutput("left", 1)
- turtle.down()
- turtle.suck()
- turtle.up()
- rs.setBundledOutput("left", 0)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement