Discuss Scratch

Gabiiscool000
Scratcher
8 posts

A 'if username not scratcher'

The reason I need something like this is because I'm doing a non-tutorial multiplayer game challenge and to make a cant connect broadcast and if the player does not have cloud then the pop-up comes up, it would be a huge help.

Can't show image because of errors.
wWSunPandaWw
Scratcher
1000+ posts

A 'if username not scratcher'

I believe this might be the workaround:
if <(username) = [examplescratcher]> then 

...

else
...
end
If not, tell me.

This signature has been blocked because scratch.mit.edu is not a part of your ISP's service plan and therefore cannot be accessed. If you wish to view this signature, please upgrade your plan here for the price of $99.99 per month.*
*Extra $99.99 for each signature
Well, not yet! But if you don't want to see this message on Scratch, then you support Net Neutrality! Net neutrality ensures that we can view websites and videos without fees, throttling, and/or censorship. But the FCC is hoping to stop all that, and allowing ISPs like Verizon and Comcast do the above mentioned things! We could have to pay to see websites. Our ISPs could simply say “Nope!” if we try to access a website. You could see a message like the one above everywhere on Scratch–and on other websites like YouTube! Don't you want to be able to use the Internet freely, without paying extra money? Then go here to see what you can do to help. More information is over there!
Scooperax
Scratcher
76 posts

A 'if username not scratcher'

if <not <(username) = [ScratcherGuy475428952]>> then

end

-ShadowOfTheFuture-
Scratcher
1000+ posts

A 'if username not scratcher'

TheLogFather made a way to detect New Scratcher status.

Also, adding this block could end up leading to bullying, like this:

if <user is a new scratcher :: sensing> then 
say [UR NOT A SRACHER U SUK HAHAHAHAHAHAHA]
stop [all v]
end

But then again, the username block could do that as well…

The world will never give up on you until you've given up on yourself.


Gabiiscool000
Scratcher
8 posts

A 'if username not scratcher'

@

-ShadowOfTheFuture- wrote:

TheLogFather made a way to detect New Scratcher status.

Also, adding this block could end up leading to bullying, like this:

if <user is a new scratcher :: sensing> then 
say [UR NOT A SRACHER U SUK HAHAHAHAHAHAHA]
stop [all v]
end

But then again, the username block could do that as well…
How do you get the if user is new scratcher block?
ParadoxScratching
Scratcher
100+ posts

A 'if username not scratcher'

Gabiiscool000 wrote:

@

-ShadowOfTheFuture- wrote:

TheLogFather made a way to detect New Scratcher status.

Also, adding this block could end up leading to bullying, like this:

if <user is a new scratcher :: sensing> then 
say [UR NOT A SRACHER U SUK HAHAHAHAHAHAHA]
stop [all v]
end

But then again, the username block could do that as well…
How do you get the if user is new scratcher block?
Yeah how?

Did I help? If so, consider following me!

Forums not helping out your scripts? Want me to answer your questions in particular? Put your projects you have a question of in this studio! I would try my best to answer you. I care more about understanding the problem than knowing how to fix the problem.
https://scratch.mit.edu/studios/4636701/
braxbroscratcher
Scratcher
1000+ posts

A 'if username not scratcher'

ParadoxScratching wrote:

Gabiiscool000 wrote:

@

-ShadowOfTheFuture- wrote:

TheLogFather made a way to detect New Scratcher status.

Also, adding this block could end up leading to bullying, like this:

if <user is a new scratcher :: sensing> then 
say [UR NOT A SRACHER U SUK HAHAHAHAHAHAHA]
stop [all v]
end

But then again, the username block could do that as well…
How do you get the if user is new scratcher block?
Yeah how?
It's not a block. Instead, you make a cloud variable, save the project (cloud variable is 0), and then use a script to set the cloud variable to 1. Thus, if the user has access to cloud, the variable is 1; otherwise, it is 0.

Last edited by braxbroscratcher (Feb. 2, 2018 14:04:43)



Current Project:
n/a
Quotes: “In our last hour, we burn the most brightly, trying to deny that we are burning out.” -Me
“Well, no. 1024 Killerbytes make a Murderbyte.” -MegaByteCorporations
“I hate out of context quotes.” -Me
“I hate it when Cubeupload breaks.” -Also me
Sheep_maker
Scratcher
1000+ posts

A 'if username not scratcher'

How about
<user can use cloud?::sensing>
So a) it works for signed-out users, and b) it's purpose is more clear

- Sheep_maker This is a kumquat-free signature. :P
Using your favourite search engine, include "site:scratch.mit.edu/discuss" in your search query to search the forums.
Don't feel obligated to post on every single suggestion; eventually you're going to support with an already-stated reason.
.postsignature {overflow: auto;}
Gabiiscool000
Scratcher
8 posts

A 'if username not scratcher'

Sheep_maker wrote:

How about
<user can use cloud?::sensing>
So a) it works for signed-out users, and b) it's purpose is more clear
ex.
when green flag clicked
if <user can use cloud?> then
say [hi you new here?] for (2) secs
end
Makes sense tbh

Last edited by Gabiiscool000 (Feb. 19, 2018 12:25:42)

miniepicness
Scratcher
1000+ posts

A 'if username not scratcher'

braxbroscratcher wrote:

ParadoxScratching wrote:

Gabiiscool000 wrote:

@

-ShadowOfTheFuture- wrote:

TheLogFather made a way to detect New Scratcher status.

Also, adding this block could end up leading to bullying, like this:

if <user is a new scratcher :: sensing> then 
say [UR NOT A SRACHER U SUK HAHAHAHAHAHAHA]
stop [all v]
end

But then again, the username block could do that as well…
How do you get the if user is new scratcher block?
Yeah how?
It's not a block. Instead, you make a cloud variable, save the project (cloud variable is 0), and then use a script to set the cloud variable to 1. Thus, if the user has access to cloud, the variable is 1; otherwise, it is 0.
I did exactly that a while ago in one of my projects. Why does TheLogFather have all my ideas and do them first D:
PrincessFlowerTV
Scratcher
500+ posts

A 'if username not scratcher'

miniepicness wrote:

I did exactly that a while ago in one of my projects. Why does TheLogFather have all my ideas and do them first D:
You both just have simmilar ideas.

Suggestion opinion: wow, look at those big words!

-ShadowOfTheFuture- wrote:

TheLogFather made a way to detect New Scratcher status.

Also, adding this block could end up leading to bullying, like this:

if <user is a new scratcher :: sensing> then 
say [UR NOT A SRACHER U SUK HAHAHAHAHAHAHA]
stop [all v]
end

But then again, the username block could do that as well…
^^^
For this reason, No support.

@PrincessFlowerTV
~~ Forum helper ~~ Wiki editor ~~ Teen ~~ Click here for some laughes ~~

Psst…
Most of the text is clickable
Cub56
Scratcher
1000+ posts

A 'if username not scratcher'

I support for a “user can use cloud” block.

Bullying isn't a concern, because there's no need to use a scratcher-detect block to bully someone - anyone can still make an offending project without needing to use these blocks. The username block doesn't need to be removed because of this.

Check out SpeedTrack Racing, my unique 3D racing game with first person behind-the-wheel view AND third person view, a selection of tracks, car paint, 36 singleplayer rank times and multiplayer!

And check out LavaSwitch Platformer, my new challenging, complex platformer with tons of unique levels across 3 chapters! It's the complete opposite to all the generic platformers on Scratch!



CosmicBunBun
Scratcher
100+ posts

A 'if username not scratcher'

User-made workarounds to blocks are sometimes very large and complicated. Bullying can and will happen regardless if this block exists or not, and you can achieve the same effect of bullying with a lot of blocks.

KingOfAwesome58219
Scratcher
1000+ posts

A 'if username not scratcher'

Cub56 wrote:

I support for a “user can use cloud” block.

Bullying isn't a concern, because there's no need to use a scratcher-detect block to bully someone - anyone can still make an offending project without needing to use these blocks. The username block doesn't need to be removed because of this.
Yeah, nobody is going to bully someone over their new scratcher status lol.
Support for above ^



asqwde
Scratcher
500+ posts

A 'if username not scratcher'

JonathanSchaffer wrote:

set [before v] to (☁ cloud var)
change [☁ cloud var v] by (1)
if <(☁ cloud var) = (before)> then
not scratcher
else
scratcher
yep

team_doodzYT
Scratcher
27 posts

A 'if username not scratcher'

Gabiiscool000 wrote:

The reason I need something like this is because I'm doing a non-tutorial multiplayer game challenge and to make a cant connect broadcast and if the player does not have cloud then the pop-up comes up, it would be a huge help.

Can't show image because of errors.
Scratch does not need a new block for this (although scratch made blocks that are not necessary), you can just:


if <(username) = []> then

end
jokebookservice1
Scratcher
1000+ posts

A 'if username not scratcher'

JonathanSchaffer wrote:

set [before v] to (☁ cloud var)
change [☁ cloud var v] by (1)
if <(☁ cloud var) = (before)> then
not scratcher
else
scratcher
No, that's not how to perform the detection. that would work for all users of the site, including New Scratchers. This is because changing cloud variables always makes the changes locally, and accessing cloud variables doesn't fetch new values for New Scratchers either (iirc).

To actually test, you need to save the project with a cloud variable that has a value of “0”. Then, you need to drag out the “set _ to _” block, and select the cloud variable. Set the value to “1”. Click on the block, but don't save the project.

This has the effect of

  • Making the cloud servers think of the cloud variable as a “1”
  • Making the project initially think of the cloud variable as a “0”

Depending on your status, you will therefore detect different values for the cloud variable.
jokebookservice1
Scratcher
1000+ posts

A 'if username not scratcher'

team_doodzYT wrote:

if <(username) = []> then

end

Depends on how you interpret the original post. What does “Scratcher” mean?

if the player does not have cloud

Given this phrase, I think “Scratcher” is referring to the status (i.e. not a New Scratcher and signed in); rather than just being signed in.
apple502j
Scratcher
1000+ posts

A 'if username not scratcher'

New Scratcher rank is ONLY for avoiding spam. I don't want <New Scratcher?> block.

Powered by DjangoBB

Standard | Mobile