Posted 03 May 2013 - 02:12 PM
i'm trying to make a startup script that will check for a redstone signal. if the redstone signal is true it will do some functions, if not it will sit and wait for the redstone signal. this is what i've got so far but its not working :(/>
the error i get is "bios:383: [string "startup"]:27: 'end' expected (to close 'while' at line 24)"
i've added extra ends around line 27 but its not helping. thanks for the support!
while redstone.getInput("right") == true do
place()
drop()
else
sleep(1)
end
the error i get is "bios:383: [string "startup"]:27: 'end' expected (to close 'while' at line 24)"
i've added extra ends around line 27 but its not helping. thanks for the support!