Each character of the username is converted into a two-digit number based on the character's position in a pre-created list containing all possible characters in a username. All the two-digit numbers are then stringed together and appended to the end of the cloud variable with an addition of two zeros (00) to act as a separator. To retrieve back the original data, we simply reverse engineer it by reading from the cloud variable, two digits at a time, and convert them back into the orignal character. In Scratch 3, each cloud variable can only store up to 256 digits (reduced from 10240 in Scratch 2). FAQ: Q: What are the costumes in this project for? A: It is for case detection as costume name is case-sensitive, whereas comparison block is not. Q: What is cloud variable? Cloud variable is like a normal variable, except that cloud variable stores data in Scratch's server and the data can be accessed by all Scratchers. Cloud variable is limited to only storing numbers, and it can store up to 256 digits. Not adhering to this will cause the cloud variable not syncing with the server. Cloud variable is commonly used to keep track of highscore.
You may use this project without credit. However, please do not use it to create chatrooms or other prohibited things :) Currently, only users with the status of Scratcher are able to make changes to the cloud variable. Changes made by New Scratchers and guests will not be registered in the cloud variable. Older usernames will be automatically removed to accommodate newer usernames. Cloud data archive (no longer updating): https://scratch.mit.edu/discuss/topic/188145/