Security System multiple passwords

We are trying to do a security system and there are 5 passwords that can unlock the system but the question is in the blocks section how can I compare the 5 passwords and if it’s not one of them send a number to the Arduino to denegate the access?

use the is in list block and check, if the entered password is one of the items in the list
http://ai2.appinventor.mit.edu/reference/blocks/lists.html#inlist

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.