Discuss Scratch

l0ve1y
Scratcher
100+ posts

User ID is false?!

Well, that's confusing! I was testing something with the ‘user ID’ block. I made this program: ‘When Flag clicked, say ’user ID=l0ve1y'- and it always says false! I AM logged onto my l0ve1y account. I have no clue what's going on- is anyone else having problems like this?




l0ve1y

BoltBait
Scratcher
1000+ posts

User ID is false?!

The USERID block is not a USERNAME block.

The USERID block returns 0 for anyone who is not logged in. If you are logged in, it returns a 1 if you are the first person to run your project and a 2 for the second person, etc. Each time you return to that project you get the same number.

Click to play:
l0ve1y
Scratcher
100+ posts

User ID is false?!

BoltBait wrote:

The USERID block is not a USERNAME block.

The USERID block returns 0 for anyone who is not logged in. If you are logged in, it returns a 1 if you are the first person to run your project and a 2 for the second person, etc. Each time you return to that project you get the same number.


I don't actually understand that, but okay.

BoltBait
Scratcher
1000+ posts

User ID is false?!

And, this ^^ is why we need a USERNAME block.

Click to play:
DigiTechs
Scratcher
500+ posts

User ID is false?!

BoltBait wrote:

And, this ^^ is why we need a USERNAME block.
I must agree there. Then I can do somthing like:

<if (USERNAME) = (ANSWER)> –assuming there's a question asking somthing like ‘What’s your Scratch Username'

I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.

Powered by DjangoBB

Standard | Mobile