Posted 28 June 2012 - 03:46 AM
i am running this code
function start()
print("password required to open")
a = read()
if a == "password" then
print ("accewss Granted")
rs.setOutput("right.true)
else
print ("access denied")
rs.setOutput("left", true)
sleep(3)
os.shutdown
end
what am i doing wrong? i gives me a bios:206: [string "startup"]:13: '=' expected when i start up please help!
function start()
print("password required to open")
a = read()
if a == "password" then
print ("accewss Granted")
rs.setOutput("right.true)
else
print ("access denied")
rs.setOutput("left", true)
sleep(3)
os.shutdown
end
what am i doing wrong? i gives me a bios:206: [string "startup"]:13: '=' expected when i start up please help!