incorrect password alert

How would could i make a character let you know when the password is wrong by saying," That is incorrect.", with logic bricks?

With logic bricks?
option A)
Property sensor
(you directly enter the keyword into the value field)

Option B)
Expression controller
(similar to A or you store the correct keyword in a property and compare properties)
you have two properties entered and password
Expression: entered==password

Option C)
Python controller (it is a brick too :wink: )
with a lot of options incl. encryption and decryption