Discuss Scratch

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.
asivi
Scratcher
1000+ posts

how do u make chat with scripts

paul0708 wrote:

when green flag clicked 
if 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

RedFaceplant wrote:

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

paul0708 wrote:

yeah but in griffpatch's game he put in chat you would talk but other players could see it
Like this one?
If yes I'm sure there's a tutorial about it.
stw9
Scratcher
18 posts

how do u make chat with scripts

Chat rooms are banned anyway.
H4K
Scratcher
100+ posts

how do u make chat with scripts

stw9 wrote:

Chat rooms are banned anyway.
Sorry but this is false as only chatroom with whitelists are allowed (source)
paul0708
Scratcher
27 posts

how do u make chat with scripts

H4K wrote:

stw9 wrote:

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
H4K
Scratcher
100+ posts

how do u make chat with scripts

paul0708 wrote:

H4K wrote:

stw9 wrote:

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
Why are you replying me? I'm saying that it's not true that the chatroom in banned
asivi
Scratcher
1000+ posts

how do u make chat with scripts

Coming back your original post

paul0708 wrote:

when green flag clicked 
if question asked (how do u make chat with scripts?) then have them answered

You linked(supposedly, i haven't clicked, a chat project

paul0708 wrote:

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

Hiyab109 wrote:

-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.

Powered by DjangoBB