Discuss Scratch

Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

A problem I see a lot with multiplayer games is that New Scratchers can't play them. It would be nice if the games could have a block that tells what your rank is so that the game could tell you ahead of time and maybe even direct you to a single-player version on the same project. So you would be able to have a sign tell you what you can and/or cannot do in a game. It would be a lot like the username block.
(Scratcher Type)
PrincessPanda_test_
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

No support

when gf clicked
if (rank is [Scratch Team v] ::sensing)
play sound [happy music v]
say [YOU'RE IN THE ST!]
else
say [You're dumb! >:(]
stickfiregames
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

No support. There isn't really any reason to detect if someone is in the ST, and if you wanted to use it for cloud variables a
<connected to cloud? :: sensing>
block would be better because it would also detect Scratchers with bad connections.
hppavilion
Scratcher
100+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

It's workaroundable, but I believe that this is a block that should be in despite workarounds to make things easier for people.
when green flag clicked
if <(user rank ::sensing) = [Scratcher]> then
...
else
if <(user rank ::sensing) = [Scratch Team]> then
say [Scratch Team! Y U NO LET NEW SCRATCHER AFFECT CLOUD DATA WHILE USING OTHERS' PROJECTS?] for (2) secs
...
else
say [Sorry, but this project uses cloud data and needs you to be a Scratcher for it to work :(]
end

We can still do this (without the ST part) with a complex and buggy script (can't handle many people without giving false positives) that wastes our cloud data limit. But I think we shouldn't have to use that hack just to inform people that they need to be a full scratcher for our project to work.
little_kitten
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Workarounds:
if <(letter(length of (username)) of (username)) = [*]>
set [rank v] to [scratchteam]
Now to detect for new scratchers, use cloud data. They can't access it.
stickfiregames
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

little_kitten wrote:

Workarounds:
if <(letter(length of (username)) of (username)) = [*]>
set [rank v] to [scratchteam]
Now to detect for new scratchers, use cloud data. They can't access it.
ST usernames don't actually end with * though, it just displays it after their names on some parts of the website.

Last edited by stickfiregames (Feb. 14, 2015 22:16:30)

Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Thanks for all of suggestions!
Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

stickfiregames wrote:

No support. There isn't really any reason to detect if someone is in the ST, and if you wanted to use it for cloud variables a
<connected to cloud? :: sensing>
block would be better because it would also detect Scratchers with bad connections.
And I only put ST in there because you can't be a Scratcher (big S) and a Scratch Team member.
cwkethan1508
Scratcher
100+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Semi support because someone can do this:

when green flag clicked
if <not <(scratchers rank) = [Scratcher ]>> then
stop [all v]
end
That will prevent New Scratchers from playing a game even if it doesn't have cloud data
dude341
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Support!
(rank is [New Scratcher v] ::sensing)
(rank is [Scratcher v] ::sensing)
(rank is [Scratch Team v] ::sensing)
(rank is [Community Moderator v] ::sensing)
(rank is [Retired Community Moderator v] ::sensing)
player rank ::sensing reporter

Last edited by dude341 (April 20, 2015 07:21:35)

dude341
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Oh and I know how to make the projects be nice! Any project with the block in will have the scripts sent to the Scratch Team for checking. Maybe they could have a new rank: Rank Blocks Moderators. So the block reports gets sent to them.
MewTheSmasher
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Support!
Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

MewTheSmasher wrote:

Support!
Thanks!
EvilCookie36
Scratcher
100+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

(cloud var is 0 before script ran)
set [cloud var v] to [1 ]
if <(cloud var) = [1]> then

set [status v] to [ scratcher ]
end
if <(letter (length of (username)) of (username) = [*]> then

set [status v] to [ scratch team ]
end
stickfiregames
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

EvilCookie36 wrote:

(cloud var is 0 before script ran)
set [cloud var v] to [1 ]
if <(cloud var) = [1]> then

set [status v] to [ scratcher ]
end
if <(letter (length of (username)) of (username) = [*]> then

set [status v] to [ scratch team ]
end
AFAIK those don't work. The cloud variable will still change when the user is a New Scratcher, but it will be treated as a regular variable and won't update on the server. Also, ST usernames don't actually end in *, it just shows them like that on the website.
Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

stickfiregames wrote:

EvilCookie36 wrote:

(cloud var is 0 before script ran)
set [cloud var v] to [1 ]
if <(cloud var) = [1]> then

set [status v] to [ scratcher ]
end
if <(letter (length of (username)) of (username) = [*]> then

set [status v] to [ scratch team ]
end
AFAIK those don't work. The cloud variable will still change when the user is a New Scratcher, but it will be treated as a regular variable and won't update on the server. Also, ST usernames don't actually end in *, it just shows them like that on the website.
Thanks for summing that up.
awesome_popcorn
Scratcher
25 posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

say [You guys are all having good points]
play sound [ We love good points!!!]
DanloTest
Scratcher
30 posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

There is already a simple script you can use to determine whether the person using a project is a New Scratcher or not. DadOfMrLog has a project that does exactly that: https://scratch.mit.edu/projects/18593258/

–Danlo
DogQueenGirl
Scratcher
100+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

No support.

Why:

DanloTest wrote:

There is already a simple script you can use to determine whether the person using a project is a New Scratcher or not. DadOfMrLog has a project that does exactly that: https://scratch.mit.edu/projects/18593258/

–Danlo
Critic2100
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

PrincessPanda_test_ wrote:

No support

when gf clicked
if (rank is [Scratch Team v] ::sensing)
play sound [happy music v]
say [YOU'RE IN THE ST!]
else
say [You're dumb! >:(]
No support for the reason above.

Powered by DjangoBB