I'm assuming that can't be put in to a variable correct?
Or am i just to dumb to see the variable, by the looks of it, it looks like i can use counter
Code i'm workin with
local reactorLzh = peripheral.wrap("front")
while true do
for chest = 1 , 27 do
end
for turTle = 1 , 16 do
end
--for lzh = 1 , 4 , 7 , 9 , 10 , 13 , 16 , 18 , 19 , 22 , 25 , 27 , 28 , 31 , 34 , 36 , 37 , 40 , 43 , 45 , 46 , 49 , 52 , 54 do
--end
local aS = reactorLzh.getStackInSlot(lzh)
term.clear()
term.setCursorPos(1,1)
if aS ~= nil then
if turTle ~= nil then
if aS.name == "ic2.reactorCondensatorLap" then
if aS.dmg == 3807 then
print("Moving Slot :"..lzh)
rs.setOutput("front",false)
reactorLzh.pushItemIntoSlot("north", lzh, 1, chest)
reactorLzh.pullItemIntoSlot("west", lzh, 1, turTle)
--pullItemIntoSlot(direction, slot, maxAmount, intoSlot)
--pushItemIntoSlot(direction, slot, maxAmount, intoSlot)
end
end
end
end
end
lzh was my second attempt of doing the loop
Edited by ihatetn931, 22 August 2014 - 07:08 AM.