Discuss Scratch

Michaelicute
Scratcher
2 posts

Username Sensing?

stickfiguregames01 wrote:

Right now, I'm making an OS. I thought it would be cool if I could program the game to allow you to save your password on a cloud variable, so when you re-enter the code, your username is displayed onscreen. Does anyone know how I could link the variable to someone's username so that I don't need to program a million variables for every new user? (My goal is to be able to have people enter an 8-digit pass code, and then when they enter it into the system, the variable sets the username to the correct one based on the code. I'm trying to use only one or two variables, if possible.)
-discussion is closed: thanks for the help!
bhjhguhghjghjfgjhgjh
Jerome112
Scratcher
35 posts

Username Sensing?

Michaelicute wrote:

stickfiguregames01 wrote:

Right now, I'm making an OS. I thought it would be cool if I could program the game to allow you to save your password on a cloud variable, so when you re-enter the code, your username is displayed onscreen. Does anyone know how I could link the variable to someone's username so that I don't need to program a million variables for every new user? (My goal is to be able to have people enter an 8-digit pass code, and then when they enter it into the system, the variable sets the username to the correct one based on the code. I'm trying to use only one or two variables, if possible.)
-discussion is closed: thanks for the help!
bhjhguhghjghjfgjhgjh
i am trying to figure this out as well
deck26
Scratcher
1000+ posts

Username Sensing?

Jerome112 wrote:

Michaelicute wrote:

stickfiguregames01 wrote:

Right now, I'm making an OS. I thought it would be cool if I could program the game to allow you to save your password on a cloud variable, so when you re-enter the code, your username is displayed onscreen. Does anyone know how I could link the variable to someone's username so that I don't need to program a million variables for every new user? (My goal is to be able to have people enter an 8-digit pass code, and then when they enter it into the system, the variable sets the username to the correct one based on the code. I'm trying to use only one or two variables, if possible.)
-discussion is closed: thanks for the help!
bhjhguhghjghjfgjhgjh
i am trying to figure this out as well
Please don't necropost, create a new topic.

BUT this is a silly idea. You don't want someone to be able to randomly type passwords and be told if there's a username with that password.

Powered by DjangoBB