Posted 22 September 2012 - 01:02 PM
I am fairly new to computercraft and need help, it says:
bios:206: [string "startup"]:3: 'then' expected
(edit startup)
print (" Enter Password Please: ")
x = "redapple"
if x = true 'then'
redstone.setOutput ("left", true)
sleep(10)
redstone.setOutput ("left", false)
os.reboot
if x = false 'then'
textutils.slowprint (" Nice Try Hacker ")
os.reboot
end
what did I do wrong?
bios:206: [string "startup"]:3: 'then' expected
(edit startup)
print (" Enter Password Please: ")
x = "redapple"
if x = true 'then'
redstone.setOutput ("left", true)
sleep(10)
redstone.setOutput ("left", false)
os.reboot
if x = false 'then'
textutils.slowprint (" Nice Try Hacker ")
os.reboot
end
what did I do wrong?