Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do u make chat with scripts
- paul0708
-
Scratcher
27 posts
how do u make chat with scripts
when green flag clicked
if question asked (how do u make chat with scripts?) then have them answered
Last edited by paul0708 (Jan. 25, 2018 21:46:54)
- RedFaceplant
-
Scratcher
48 posts
how do u make chat with scripts
This post needs some more information for what exactly you are looking for isn't clear.
You can't make a chat using global variables between two users. they don't take in letter inputs and scratch won't allow it because of cyber bulling.
But if you need two in-game characters to go back and forth you can use the "say " blocks on two sprites.
You can't make a chat using global variables between two users. they don't take in letter inputs and scratch won't allow it because of cyber bulling.
But if you need two in-game characters to go back and forth you can use the "say " blocks on two sprites.
- asivi
-
Scratcher
1000+ posts
how do u make chat with scripts
when green flag clickedif question asked (how do u make chat with scripts?) then have them answered
You are chatting with scatchblocks(sort of script) already.
- deck26
-
Scratcher
1000+ posts
how do u make chat with scripts
A chat project is allowed as long as you have a whitelist of acceptable words/phrases. You can avoid having to encode text as numbers by storing the whitelist's index values instead of the words/phrases.
- paul0708
-
Scratcher
27 posts
how do u make chat with scripts
This post needs some more information for what exactly you are looking for isn't clear.
You can't make a chat using global variables between two users. they don't take in letter inputs and scratch won't allow it because of cyber bulling.
But if you need two in-game characters to go back and forth you can use the "say " blocks on two sprites.
yeah but in griffpatch's game he pur in chat you would talk but other players could see it
- H4K
-
Scratcher
100+ posts
how do u make chat with scripts
yeah but in griffpatch's game he put in chat you would talk but other players could see itLike this one?
If yes I'm sure there's a tutorial about it.
- paul0708
-
Scratcher
27 posts
how do u make chat with scripts
Chat rooms are banned anyway.Sorry but this is false as only chatroom with whitelists are allowed (source)
um duh this has chat
made by griffpatch
- -ShadowOfTheFuture-
-
Scratcher
1000+ posts
how do u make chat with scripts
From what I can see, you want to make a cloud-based chat, in which multiple Scratchers can interact with each other using cloud data.
Since cloud variables can only store numbers, you need to make an engine that can encode and decode text into numbers; those work by basically converting every character into a binary value, and having a nonbinary digit that is used to separate each individual character. It is also a requirement for chatrooms to have a whitelist of words, because otherwise would be a violation of the rules. You'd need to check each word to see if it's in the whitelist, censoring all words that aren't in the final output.
I'm not an expert on cloud data, so I can't really give you specifics on how to code this
Since cloud variables can only store numbers, you need to make an engine that can encode and decode text into numbers; those work by basically converting every character into a binary value, and having a nonbinary digit that is used to separate each individual character. It is also a requirement for chatrooms to have a whitelist of words, because otherwise would be a violation of the rules. You'd need to check each word to see if it's in the whitelist, censoring all words that aren't in the final output.
I'm not an expert on cloud data, so I can't really give you specifics on how to code this

- H4K
-
Scratcher
100+ posts
how do u make chat with scripts
Why are you replying me? I'm saying that it's not true that the chatroom in bannedChat rooms are banned anyway.Sorry but this is false as only chatroom with whitelists are allowed (source)um duh this has chat
made by griffpatch
- asivi
-
Scratcher
1000+ posts
how do u make chat with scripts
Coming back your original post
You linked(supposedly, i haven't clicked, a chat project
Well, you see inside to get ideas about how to.
when green flag clickedif question asked (how do u make chat with scripts?) then have them answered
You linked(supposedly, i haven't clicked, a chat project
made by griffpatch
Well, you see inside to get ideas about how to.
- Scratch--TheCat
-
Scratcher
1000+ posts
how do u make chat with scripts
-snip-bro necroposted just so they could post the entire rickroll lyrics :skull: jokes aside, please check the date of the last post here before making a new post. thanks:)
this is just a joke not trying to be mean here
Last edited by Scratch--TheCat (Jan. 28, 2023 22:29:35)
- cosmosaura
-
Scratch Team
1000+ posts
how do u make chat with scripts
Closing the topic to stop Necroposts.
- Discussion Forums
- » Help with Scripts
-
» how do u make chat with scripts