Talk:Lua Tutorials/@comment-2225136-20120607233253/@comment-24.98.75.10-20120723014929

To the Roberts7531: This is a basic lua program, for a simple lock. Your program isn't much to speak of either, so don't complain at people.

To the other guy on this comment: Though this guy's problem was probably fixed, I just thought I would anwser so others can see what is wrong.

You need to make the anwsers to the varibles you are useing (yes and no) into strings, by putting them in "s.

Like so:

yes = "y"

no = "n"