Discuss Scratch

Gabiiscool000
Scratcher
7 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
100+ posts

A 'if username not scratcher'

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

...

else
...
end
If not, tell me.


If you're reading this then my real siggy is loading
Scooperax
Scratcher
7 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…

<Insert uncreative signature here>
Gabiiscool000
Scratcher
7 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
88 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!
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
Urgently need to search for something? Project Search | Studio Search | User Search | Forum Search
.postsignature {overflow: auto;}
Gabiiscool000
Scratcher
7 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 (Yesterday 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
100+ 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.

Hi! I'm PrincessFlowerTV.
Links:
My profile
Endless Imaginations
Scratch Wiki
My 1st post
Jazz flute


(Removed by KajTheModerator- Please create a more exciting siggy.)
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
75 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.

“It is possible to commit no mistakes and still lose. That is not a weakness; that is life.” -sir patrick steward from the emoji movie
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
18 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.

k
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.

k
apple502j
Scratcher
1000+ posts

A 'if username not scratcher'

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

悲しいお知らせです
Scratchチームは、クラウド変数の規制を強化しました。
https://scratch.mit.edu/discuss/post/2993545/
  • 10240文字から128文字へ、字数制限を変更
  • 16進数禁止

Powered by DjangoBB

Standard | Mobile