Posted 08 January 2013 - 05:11 PM
Hello. I am writing my first program with computercraft and I am getting this error and I cannot for the life of me figure out what it means or how to fix it. the full error message is below
bios:338: [string "wrench"]:1: "=" expected
The code is below. it is using a miscperipherals wrench turtle to toggle the state of a redstone power conduit above it every time the redstone signal changes.
While true do
local event = os.pullEvent("redstone")
if event=="redstone" then turtle.digUp() end
end
end