Discuss Scratch

DAT_COOKIE_GOOD
Scratcher
5 posts

I want to know how to make a chat room

I want to make a chat room for my game
got any idea how to make it?
deck26
Scratcher
1000+ posts

I want to know how to make a chat room

Chat rooms have to be limited to a preset list of things that can be said - eg ‘Hello’, ‘I like Scxratch’ and so on.

Once you have a list like that you can use the index number of the item in the list ratehr than encoding the text but if you want usernames to be handled you'll need to encode those.

Then it's just a case of managing the use of your cloud variables - eg does each person have one cloud variable or do you want to be able to grab the one that has been unused for the longest time so you don't have to worry about more than 10 users?
kidsrule454
Scratcher
500+ posts

I want to know how to make a chat room

Um, you can make a chat room, but there has to be things like different words you can use. Make a list with stuff like “Hello!” or “Yes.” or “Good night!” Something like that. I hope this helped with your problem!
funderburker
Scratcher
100+ posts

I want to know how to make a chat room

Open chat rooms aren't allowed in scratch. If you want, you can make only a limited word selection, but make sure to be careful! People could still make sentences that you hadn't thought of and that are not very nice. Hope I helped ^^
Jareddddddd
Scratcher
1000+ posts

I want to know how to make a chat room

you can tag word with numbers, and send them through the numbers. Since the word choice is limited, you dont have to decode or encode
aceyp9000
Scratcher
100+ posts

I want to know how to make a chat room

Encrypting letters into numbers to be decrypted back into words with cloud vars isn't allowed, however you can have a limited selection of words that are appropriate.

If you want to use a limited amount of words, you should just have phrases and not individual words which further prevents issues that revolve around inappropriate words or phrases.

hopefully that made sense.

Powered by DjangoBB