Discuss Scratch

Gabiiscool000
Scratcher
9 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.
Scooperax
Scratcher
100+ 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…

Isn't it so fun to click the images in people's signatures?

Gabiiscool000
Scratcher
9 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)



My signature is kumquat proof.
But not tangerine pro-
nomnomnomnomnom










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
Scratch 3.0 blocks but less fat
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
Gabiiscool000
Scratcher
9 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
1000+ 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.


~~ Christian ~~ Mildly Dyslexic ~~ Homeschooled ~~ Forum Helper ~~ Teen ~~ Skater ~~
Generation 379: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment. I did not start this.
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 Life Raft Survival, my new advanced sandbox survival game with crafting, building, transportation, weather events, tropical storms, and more!

In the game you're stranded at sea after a mysterious crash and must survive in an unforgiving tropical island environment collecting resources and crafting, in an attempt to finally be rescued.



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 ^



JonathanSchaffer
Scratcher
1000+ posts

A 'if username not scratcher'

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

do you like alexa but don't have an echo? do you like cortana but don't have windows 10?
do you like siri but don't have an iphone, mac or tablet?

then try alice!
alice is a wonderful virtual assistant that works on linux and is tested on raspberry pi*
she can play music search online, answer questions, tell jokes, tell the date and time, and pretty much anything siri or alexa can do except for make phone calls

*you may need to install additional software such as libttspico-utils and timidity
asqwde
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
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