You need to do:
If password([parameters])
[code goes here]
Endif
Inside the parenthesis you put:
-password string
-message to enter password
-message to reenter password
-message when password is correct
-message when password is incorrect
-validate? (1 for enter twice, 0 for enter once.)
Example:
If password("password", "Enter Password", "Re-enter Password", "Password Ok","Access denied",1) Then .....
@witchbomber
Mine does that too. It also allows reentry of passwords and checks them.