Posted 30 March 2013 - 03:36 PM
                I'm try to make a frame quarry controlled by a computer. I make a basic quarry API but when i try to run move function, get this error:
The API:
                
            quarry:9: Expected string, numberThe API:
Left = 1
Right = 2
Back = 4
Forw = 8
Down = 16
Up = 32
function move(sWay)
  rs.setBundledOutput("back",sWay)
  sleep(1,2)
  rs.setBundledOutput("back", 0)
end
function dig()
  rs.setBundledOutput("back", 64)
  sleep(1,2)
  rs.setBundledOutput("back", 0)
end