I am using a script that is not mine, as I have no idea how to write one yet, and it does everything that it is suppose to do except for cutting the full grown trees down. I am trying to figure out why but am very unsuccessfully doing so.
here is the code i am using, any help would be appreciated.
local W, H = 7, 11
local INTERVAL = 30
local DROPTOOL = false
local com = require("component")
local robot = require("robot")
local term = require("term")
local comp = require("computer")
local magnet = com.tractor_beam
local inv =