How to Make a Set Password and Unlock System!

Hey there!
Today, I am going to show you how to make a program that lets you set a password and asks you for it! Here is the code:


If you didn’t get the password correct, it will ask you for the password again.
Here is the project: https://c.gethopscotch.com/p/1192ih9fx5

21 Likes

do you have to make a separate variable “go?”

you could just do

check once if (length (input) > 0
6 Likes

Hmmm good topic. But somehow no use.

4 Likes

this has a greater use to those around you

3 Likes

Oh because for it to keep asking you the password if you got it wrong.

3 Likes

oh, you can fix that as well

check once if (input) does not equal 0
3 Likes

here, I’ll just make it, should I?

2 Likes

Then it only appears if the person answers nothing

2 Likes

no, that check if the string had an input or not

2 Likes

And I don’t think it will keep asking.

2 Likes

never mind, i’m too lazy to fix my mistakes

2 Likes

good job on “Nice Topic”

2 Likes

Imagine if you had the sub. Then you could make a password system that a user would need to type when they go back into a project. Although this can still be bypassed by just editing the project… Would still be cool though.

1 Like

Thank you! My record too! In 2 hours.

1 Like

Um I don’t get it

1 Like

I’m talking about beta-exclusive user variables. Password logins would be so cool with them. Not sure how long we’ll have to wait to use them, and every major update of hopscotch seems to add more cool and useful features.

my records something like 8 hours

1 Like

everyone could see the code and see the password

1 Like

Wow, I think I will use this a lot. Thanks!

1 Like

Thanks for this!