Topic Information

I need help with a safe chat on my cloud games by badpro67 in Help With Scripts

Posts: 4

1: badpro67 wrote at 2:32:53 PM 1/8/20204280136
Does anyone know how?
2: Develop3r wrote at 2:37:58 PM 1/8/20204280156

badpro67 wrote:

Does anyone know how?
Please define this, would it be a chat where you press a number or a chat where you type freely if you type freely, I can't help you.
3: badpro67 wrote at 2:38:44 PM 1/8/20204280159
yes a chat where you press number keys
4: Alec_two_thousand wrote at 5:54:07 PM 1/8/20204280885
name a cloud variable “chat” and have this code:
(☁ chat)
when [1] key pressed
set [☁ chat v] to [1]
when [2] key pressed
set [☁ chat v] to [2]
then have this code in a different sprite
when green flag clicked
forever
if <(☁ chat) = [1]> then
add [hi] to [chat v]
set [☁ chat v] to [0]
end
if <(☁ chat) = [2]> then
add [good game] to [chat v]
set [☁ chat v] to [0]
end
end
of course you can change the hi and good game to whatever you like