if turtle.forward() and
peripheral.isPresent ("front") then
if peripheral.call("front", "turnOn") then
print("on")
elseif peripheral.call("front", "shutdown") then
print("off")
end
end
turtle.back ()
No errors appear and all of the rest of the code functions properly, the idea is the turtle moves forward turns on a computer then returns to its original position, the eventual plan is to have the turtle move around my base turning on farming/mining turtles etc.I realise that the print section isnt neccesary but I was running it with variables originally and nothing put between line 3-5 or 5-7 register.












