Discuss Scratch
- Discussion Forums
- » Suggestions
- » Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)
- 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)
Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
- PrincessPanda_test_
- Scratcher
1000+ posts
Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)
- 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.
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.
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)) = [*]>Now to detect for new scratchers, use cloud data. They can't access it.
set [rank v] to [scratchteam]
The above post was likely clear sass. 10 outta 10.
Unless it wasn't. Which happens from time to time. Sadly.
- stickfiregames
- Scratcher
1000+ posts
Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)
ST usernames don't actually end with * though, it just displays it after their names on some parts of the website. Workarounds:if <(letter(length of (username)) of (username)) = [*]>Now to detect for new scratchers, use cloud data. They can't access it.
set [rank v] to [scratchteam]
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!
Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
- Fuzzbutt
- Scratcher
500+ posts
Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)
And I only put ST in there because you can't be a Scratcher (big S) and a Scratch Team member. 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.
Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
- 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 clickedThat will prevent New Scratchers from playing a game even if it doesn't have cloud data
if <not <(scratchers rank) = [Scratcher ]>> then
stop [all v]
end
- 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)
Placeholder
- 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.
Placeholder
- 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)
Thanks! Support!
Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
- 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
EvilCookie36 apologises for any mean/rude comments that may have been said above. He's a jerk.
- stickfiregames
- Scratcher
1000+ posts
Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)
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. (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
- Fuzzbutt
- Scratcher
500+ posts
Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)
Thanks for summing that up.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. (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
Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
- 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!!!]
Life is like a bicycle, to keep your balance you have to move forward
- 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
–Danlo
What I'm working on: Character Art, looking for feedback
- DogQueenGirl
- Scratcher
100+ posts
Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)
No support.
Why:
Why:
https://scratch.mit.edu/projects/18593258/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:
–Danlo
- Critic2100
- Scratcher
1000+ posts
Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)
No support for the reason above. No supportwhen 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! >:(]
Critic2100 ~ kateskipper~ SaveOurPlanet ~ -Writer- ~ Donate Internetz Please
The rest of this signature is in a ;s stomach.
- Discussion Forums
- » Suggestions
- » Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)