Hey guys,
I wanted to build a evelator, which i can controll with a computer, but I got really fast problems ^^
My main idea was that, if i write "1" or "2" the redstoneOutput goes left or right, but if i edit my startup there is a error. Would be nice if someone find my mistake ^^
My error: bios:206. [string "startup"]:4: `then` expected
-> edit startup
write("Pls enter your stage which you want to visit:")
local = read()
if eingabe = "1" then
redstone,setOutput("left", true)
sleep(3)
os.shutdown()
if eingabe = "2" then
redsonte,setOutput("right", true)
sleep(3)
os.shutdown()
end
I know my english isn`t the best but I think you cant understand me )
Denni000