Discuss Scratch

RemixCoder00
Scratcher
26 posts

Username System Tutorial !

Welcome To This Tutorial

In This Tutorial You Will Learn How To Make A Username System !
Note: Your Username Will Not Be Stored In The Lists For Later Use

Needed Sprites:
Login
Create Account


Needed Lists:

(Passwords :: list)

(Usernames :: list)




Login Sprite Script:

when this sprite clicked
hide list [ Passwords v]
hide list [ Usernames v]
ask [Username ?] and wait
if <[ Usernames v] contains (answer) ?> then
ask [Password] and wait
if <[Passwords v] contains (answer) ?> then
say [Setting Up Your Account] for (1) secs
say [Logged In !] for (0.5) secs
else
say [Wrong Password] for (0.7) secs
end
else
say [Username Not Recognised] for (1.3) secs
end

Now We Are Done With The Login Sprite

Create Account Sprite Script:

when this sprite clicked
say [Please Wait...] for (2) secs
ask [What Do You Want Your Username To Be ?] and wait
if <not <[Usernames v] contains (answer) ?>> then 
add (answer) to [Usernames v]
ask [What Do You Want Your Password To Be] and wait
add (answer) to [Passwords v]
say [Account Created ! Click Login To Login With Your Account] for (3.5) secs
else
say [Username Taken :(] for (0.7) secs
end

Well Done ! You Have Created Your Username System !

Bye :)
Unithlees3
Scratcher
1000+ posts

Username System Tutorial !

Unithlees3 wrote:

STOP MAKING GUIDES
please stop making guides, you already know that guides arent allowed. reporting to be closed.

Powered by DjangoBB