Jump to content

I keep getting Error on my Computer


Donjohrae

Recommended Posts

i keep getting this error when im trying to write run a program

bios:337: [string "startup"]:16: '<eof>' expected

can someone help me?

Here's my code (not real passwords)

term.clear()

termCursorPos(1,1)

os.pullEvent = os.PullEventRaw

password = "Password"

masterpassword = "Password"

print("Solve My Riddle!")

write "Please Enter Password: "

local input = read("$")

if input == (password) then

print("Access Granted")

esleif input == (masterpassword) then

print("Welcome, Your Terminal Is Unlocked")

else

print("Go Away Loser")

sleep(2)

os.shutdown

end

Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...