Discuss Scratch

Maxmbm
Scratcher
2 posts

Allowing letters in cloud variables...and regular ones

I am trying to make a ‘global chat’ where all scratch users can talk in a real time global chat, but I cant put text into the cloud variables. I know you can have like decoders and things like that, but those are ALOT of work, like to put in a number for every key on the keyboard, and I dont want to have a list of chat words either, because that is just no fun. Any ideas?
jvvg
Scratcher
1000+ posts

Allowing letters in cloud variables...and regular ones

1. Chats are not allowed, unless you make a “safe” chat where users can only select from a few predetermined messages
2. Cloud strings and lists are coming. We don't know when, but they will someday.
TheGeek56
Scratcher
100+ posts

Allowing letters in cloud variables...and regular ones

Try making a thing where it encrypts the letters into numbers? Then the reciever of the message will have the message decrypted
Marcelloman
Scratcher
11 posts

Allowing letters in cloud variables...and regular ones

Tip:
= 00
a = 01
b = 02
c = 03
d = 04 …

in a list
and than extract all objects from the list in a cloud variable
scratchisthebest
Scratcher
1000+ posts

Allowing letters in cloud variables...and regular ones

jvvg wrote:

Chats are not allowed, unless you make a “safe” chat where users can only select from a few predetermined message.
PhirripSyrrip
Scratcher
500+ posts

Allowing letters in cloud variables...and regular ones

jvvg wrote:

1. Chats are not allowed, unless you make a “safe” chat where users can only select from a few predetermined messages
Yeah, it does say that every time you make a cloud variable… I'm sorry but this won't happen, it's not worth making a decoder or waiting for cloud text variables or lists.
CrazyRedScratch
Scratcher
26 posts

Allowing letters in cloud variables...and regular ones

well you could make one of those ‘safe chat’ things, and whenever you select a message to send it would change a cloud variable which would add that message to the list, but you would need to make it so that when you send a message it wouldn't keep sending it until another message is sent, also i found a project for encoding and decoding letters AND numbers for cloud variables, for things like chat rooms and stuff like that.
CatsUnited
Scratcher
1000+ posts

Allowing letters in cloud variables...and regular ones

CrazyRedScratch wrote:

well you could make one of those ‘safe chat’ things, and whenever you select a message to send it would change a cloud variable which would add that message to the list, but you would need to make it so that when you send a message it wouldn't keep sending it until another message is sent, also i found a project for encoding and decoding letters AND numbers for cloud variables, for things like chat rooms and stuff like that.
Please don't necropost. Also, you can already put strings in normal variables as it's been like that since Scratch 1.3.
triplehotdog
Scratcher
9 posts

Allowing letters in cloud variables...and regular ones

There is a way you can change text into numbers.
First you put all the possible symbols/numbers/letters in a list(you can name the list whatever you want)
Next you create a “letter” variable (it doesn't have to be named that, It just has to be a variable)
Finally, you have to make a thing where it senses what you type and which item of the list is equal to the current letter, and sets the letter that its currently focusing on to numbers, and yes, those numbers are the item on the list that is equal to that letter.
So basically, up to this point we were talking about how to convert text into numbers.
This is needed because cloud variables can only store numbers, not text.
So again, basically everything I just said was me referring to the fact that since cloud variables can only store numbers, not letters, you must convert text into numbers, numbers into cloud variables, cloud variables to other players' regular variables, then convert the numbers back into text.
This is good if you are a scratcher, like me, but if you are new to scratch this wont work.
However Maxmbm, you are a scratcher so you don't have to worry.

Powered by DjangoBB