Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Coding and Decoding cloud variables
- deck26
-
Scratcher
1000+ posts
Coding and Decoding cloud variables
Ummm what does this all do?Cloud variables can only hold numbers. So this is how to convert text to numbers and back again so you can store things like usernames in cloud variables.
- P444
-
Scratcher
500+ posts
Coding and Decoding cloud variables
Fixed a minor error on scripts!
Last edited by P444 (Sept. 1, 2016 13:01:13)
- FresthoRY
-
Scratcher
12 posts
Coding and Decoding cloud variables
You can also “glitch in” cloud variables by getting a script with a cloud variable in your backpack, dragging it out onto your project, and double clicking on the script. I've heard the the cloud variables don't actually work and are just “fake”. I'm not sure if this is true though.Ummm, is there a limit to how many cloud variables there can be?Sorta, Scratch prevents you from making a new one at 10, but there is a bug (that should rarely be used because is going against the Scratch Team's decision) where you can create multiple cloud variables at the same time, and thus avoiding the limit.
It is because Scratch records if a cloud variable is created,after the OK button is clicked, but prevents you from making a new one before you tick the Cloud Variable checkbox. This inconcistency allows you to create more than 10.
On a seperate note..
Why do you need the lowercase lettered costumes, surely a lowercase letter ill stay at costume null whether the costume letter+t exists? It seems like it is taking up 2x space needed? (correct me if wrong)
- jokebookservice1
-
Scratcher
1000+ posts
Coding and Decoding cloud variables
Yep, they are just like you creating a non cloud variable, but starting the name with the cloud emojiYou can also “glitch in” cloud variables by getting a script with a cloud variable in your backpack, dragging it out onto your project, and double clicking on the script. I've heard the the cloud variables don't actually work and are just “fake”. I'm not sure if this is true though.Ummm, is there a limit to how many cloud variables there can be?Sorta, Scratch prevents you from making a new one at 10, but there is a bug (that should rarely be used because is going against the Scratch Team's decision) where you can create multiple cloud variables at the same time, and thus avoiding the limit.
It is because Scratch records if a cloud variable is created,after the OK button is clicked, but prevents you from making a new one before you tick the Cloud Variable checkbox. This inconcistency allows you to create more than 10.
On a seperate note..
Why do you need the lowercase lettered costumes, surely a lowercase letter ill stay at costume null whether the costume letter+t exists? It seems like it is taking up 2x space needed? (correct me if wrong)

Last edited by jokebookservice1 (Oct. 23, 2016 22:48:49)
- hawken
-
Scratcher
1 post
Coding and Decoding cloud variables
I made a simple chatroom, with this
https://scratch.mit.edu/projects/147197794/
no can use it right now, im still making filters
https://scratch.mit.edu/projects/147197794/
no can use it right now, im still making filters
- fathallahbob
-
Scratcher
7 posts
Coding and Decoding cloud variables
I need help with recording the scores of the people who play my game. PLZ help, 

- dual_creator43
-
Scratcher
1000+ posts
Coding and Decoding cloud variables
My project had a limit of 8 cloud variables!Ummm, is there a limit to how many cloud variables there can be?
Yes, 10 per project.
And PLEASE check before you post, because you might just be Necro-Posting!

- fathallahbob
-
Scratcher
7 posts
Coding and Decoding cloud variables
can someone help me with cloud data
- cheesyturnips
-
Scratcher
1 post
Coding and Decoding cloud variables
When I coded it all and ran it in turbo mode, it didn't display a lower case ‘'a’'. Did anyone else have this issue, or did I just screw up?
Last edited by cheesyturnips (March 25, 2018 16:01:47)
- space_elephant
-
Scratcher
500+ posts
Coding and Decoding cloud variables
this also works for the case sensing:
create 27 costumes, costume #1 is “null”the others are all the capital letters
create 27 costumes, costume #1 is “null”the others are all the capital letters
define Detect case of letter [character]
if <(length of (character)) > [1]> then
set [case v] to [error!] //indicates that more than one character was entered
stop [this script v]
end
switch costume to [null v] //it should be your very first costume
switch costume to (character) //if the character is lowercase, it will stay on "null"
if <(costume #)=[1]> then
set [case v] to [other] //costume did not change so is is not capital
else
set [case v] to [upper] //defines that the letter is uppercase
end
- evan11r
-
Scratcher
100+ posts
Coding and Decoding cloud variables
um… i dont remember a variable saying “i”…This is pretty close to what I use, with a couple of minor changes. (plus mine is case sensitive, if you're interested in adding that feature) If there's a more efficient method of doing it than what you said, I've never seen it.Thanks, added it
- RufusTV
-
Scratcher
1 post
Coding and Decoding cloud variables
Can I have help making a High Score cloud verbal for my game? Here's the link https://scratch.mit.edu/projects/383470556/ .
Thank you!
Thank you!

- deck26
-
Scratcher
1000+ posts
Coding and Decoding cloud variables
Can I have help making a High Score cloud verbal for my game? Here's the link https://scratch.mit.edu/projects/383470556/ .Please create your own new topic rather than necroposting.
Thank you!
- AdwitaPrabhu
-
Scratcher
41 posts
Coding and Decoding cloud variables
when green flag clicked
ask [why do you want this] and wait
- jettypumpkin07
-
Scratcher
1000+ posts
Coding and Decoding cloud variables
when green flag clicked
ask [why do you want this] and wait
when asked [why do you want this] :: events hat
if <(op [year v] :: sensing) < [2020]> then
ask [Do you know what necroposting is?] and wait
if <(answer) = [yes]> then
say [You realize you just did it, right?]
else
if <(answer) = [no]> then
think [Just make a new post next time...]
end
end
end
say [Sorry for blockspamming.]
Last edited by jettypumpkin07 (June 22, 2020 07:36:06)
- catgamer7
-
Scratcher
20 posts
Coding and Decoding cloud variables
I tried it and mine puts a 34 instead of a 08 in the
(cd)variable.
Last edited by catgamer7 (Feb. 18, 2021 01:09:34)
- Discussion Forums
- » Help with Scripts
-
» Coding and Decoding cloud variables


















