This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
LiamBaines2's profile picture

Fir Tree progam used by sethbling not working?!

Started by LiamBaines2, 28 January 2013 - 03:14 AM
LiamBaines2 #1
Posted 28 January 2013 - 04:14 AM
Title: Fir Tree progam used by sethbling not working?!

I've copyed it, it was working before destroyed my turtle by mistake, re-written it and now its saying an
bios:338: [string "fell"]:9: '('

code

local function checkFuel()
  if turtle.getFuelLevel() < 1 then
turtle.select(1)
turtle.refuel(1)
  end
end
local function column()
  while turtle.digUp() do
turtle.dig()
checkFuel()
turtle.up()
  end
  turtle.dig()
  checkFuel()
  while turtle.down() do
checkFuel()
  end
end
local function digmove()
  checkFuel()
  turtle.dig()
  turtle.forward()
end
digmove()
column()
turtle.turnRight()
digmove()
turtle.turnLeft()
column()
turtle.turnLeft()
digmove()
digmove()
turtle.turnRight()
column()
ChunLing #2
Posted 28 January 2013 - 05:36 PM
Could you open fell using "edit fell" on your turtle, go to line 9, and paste that line exactly as it appears on your turtle?
remiX #3
Posted 28 January 2013 - 05:42 PM
Did you copy the code or re-write it here too?