View difference between Paste ID: 5qLZTT6e and N1KSREsN
SHOW: | | - or go back to the newest paste.
1
2-
turtle.up()
2+
3-
for i=1,7 do
3+
4-
avancer()
4+
	block, meta = turtle.inspect()
5-
ins()
5+
	print(meta.metadata)
6
	if meta.metadata ==7 then 
7-
turtle.turnRight()
7+
		turtle.digDown()
8-
avancer()
8+
		turtle.placeDown()
9-
ins()
9+
	end
10-
turtle.turnRight()
10+
	end
11-
for i=1,6 do 
11+
12-
avancer()
12+
13-
ins()
13+
14
	turtle.forward()
15-
turtle.turnLeft()
15+
16-
avancer()
16+
17-
ins()
17+
18-
turtle.turnLeft()
18+
19
while true do 
20
	turtle.up()
21
	for i=1,7 do
22-
turtle.forward()
22+
		avancer()
23
		ins()
24
	end
25-
block, meta = turtle.inspect()
25+
	for j=1,3
26-
print(meta.metadata)
26+
		turtle.turnRight()
27-
if meta.metadata ==7 then 
27+
		avancer()
28-
turtle.digDown()
28+
		ins()
29-
turtle.placeDown()
29+
		turtle.turnRight()
30
		for i=1,6 do 
31-
sleep(1)
31+
			avancer()
32
			ins()
33
		end
34
	
35
		turtle.turnLeft()
36
		avancer()
37
		ins()
38
		turtle.turnLeft()
39
		for i=1,6 do 
40
			avancer()
41
			ins()
42
		end
43
	
44
	end
45
end