View difference between Paste ID: 6JSZ71qw and EGhFpyWD
SHOW: | | - or go back to the newest paste.
1
selectedSlot = 1
2
3-
current_two = 0
3+
4
    if turtle.getItemCount(selectedSlot) <= 1 then
5-
current = 0
5+
6-
run = 1
6+
7
          selectedSlot = 1
8
        end
9
        turtle.select(selectedSlot)
10
    end
11
end
12
13
while true do
14
	while turtle.back() do
15
		items()	
16
		turtle.place()
17
	end
18
	turtle.turnLeft()
19
end