Posted 03 September 2014 - 10:24 PM
I'm doing a simple program (my first one) but i get a '<name>' expected error (prety sure its a noob mistake).
The code is supposed to place a block if the lever is on and break it if its off
Here is the code:
The code is supposed to place a block if the lever is on and break it if its off
Here is the code:
if redstone.getInput("top") == true then
turtle.place()
sleep(5)
else
turtle.break()
sleep(5)
end