Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- ox,oy,oz = gps.locate()
- x,y,z = gps.locate()
- rx = ox + 64
- term.write("deploying...")
- if oz > 0 then
- z = oz + 2
- else
- z = oz - 2
- end
- dx = ox + 1
- dz = oz +1
- while true do
- if x > rx then
- x = ox
- z = z + 1
- end
- -- turtle.place()
- table = {x,z,dx,dz}
- msg = textutils.serialize(table)
- peripheral.call("front","turnOn")
- sleep(2)
- rednet.broadcast(msg)
- x = x + 2
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement