Posted 22 July 2014 - 05:18 PM
Im making a password door and i came out right i copy the program i used and i get this error bios:206 [string "password"]:13: '=' expected this is the code i used (this may be old version of code becuase im doing this in tekkit)
correctpass = "Fox2"
write("Administration Pass Required")
Pass = read()
if pass == (correctpass) then
write("Welcome")
redstone.setOutput("left",true)
sleep(5)
os.shutdown
else
write("Nope")
sleep(10)
end
Any help will be gladly apreciated
correctpass = "Fox2"
write("Administration Pass Required")
Pass = read()
if pass == (correctpass) then
write("Welcome")
redstone.setOutput("left",true)
sleep(5)
os.shutdown
else
write("Nope")
sleep(10)
end
Any help will be gladly apreciated