denni000 Posted February 12, 2014 Share Posted February 12, 2014 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 Unehydrodyday 1 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now