pass = ("welcome")
dubug = ("edit")
print ("Welcome to Trevor1097's Castle")
print ("These Doors Are Locked")
print ("Enter The Password")
write "password: "
input = read("*")
if input == pass then
print ("Welcome gates are opening")
shell.run("redpulse","left","2",".75")
print ("Enter the gates")
sleep(3)
shell.run("redpulse","right","2",".75")
print ("Gates locked")
os.reboot()
elseif input == dubug then
print ("editing")
os.clear()
else
print ("wrong password")
sleep(1)
os.reboot()
end
rs.getinput("top" true) == true then
shell.run("redpulse","left","2",".75")
sleep(3)
shell.run("redpulse","right","2",".75")
os.reboot()
on the line 26rs.getinput("top" true) == true then
i get the error message
bios:206: [string "door"]:26: ')' expected
any help that i get i would like to thank you