Discuss Scratch

Baronofcheck
Scratcher
9 posts

WORKING CHATROOM

Tell me what words you want added!!! NO cuss words. The greatest part about this system is that I have to program everyword which means I can dictate what words are said. So easy no bad words. Only problem is putting in words takes forever
sonicfan12p
Scratcher
1000+ posts

WORKING CHATROOM

So you want safechat room phrases? Then this should go in Project Ideas. However, since I'm here, I'll give you a few ideas.

If you're making a generic chat room, you'll need various forms of greeting: Hi! Hello! Hey! How's it going? ect. departure: Bye! I've got to go! See ya later! ect. small talk questions: How's it been? How are you? What's shakin' bacon? ect. and also small talk responses: I'm alright, how about you? Everything's cool. Not so great actually… Nothin' much. ect. Since you're on Scratch, you may as well include such phrases as: What type of projects are you working on? Been on the forums recently? along with associated answers and other questions. Random remarks are also something some people like, so long as you make it spam proof. Hope this is helpful!

Last edited by sonicfan12p (March 23, 2014 01:06:04)


Comeback time? Maybe?
ProdigyZeta7
Scratcher
1000+ posts

WORKING CHATROOM

Also note that you need to detect if a response is numerical so that you can prevent users from exchanging phone numbers and such. So to do that:
define number check (string)
if <(string) = ((string) + (0))> //this is to confirm that the string is a number
if <(length of (string)) > [6]> //if the number is 7 or more digits long, it might be a phone number
set [return v] to [*] //censor the number
else
set [return v] to (string) //otherwise, return the string as it was
end
else
set [return v] to (string)
end



Baronofcheck
Scratcher
9 posts

WORKING CHATROOM

ProdigyZeta7 that makes sence but I do not need to do that becuase the only way I could get the chatroom to actually work was to have you say something that is programmed, so that it can change it to numbers for a cloud varible. then from the cloud varible reput it into text and into a list of what people said. This works because if someone else joins the chatroom they can hit refresh and the number code will be put into there list as a word. Therefore I can only put in pre coded words. So I don't need that script. But thanks anyway!! (:
ahmedahmed
New to Scratch
7 posts

WORKING CHATROOM

stop all sounds
BillPenguin
New to Scratch
1 post

WORKING CHATROOM

.
Baronofcheck
Scratcher
9 posts

WORKING CHATROOM

ahmedahmed wrote:

stop all sounds

?
FruityGrrl
Scratcher
17 posts

WORKING CHATROOM

CHATROOMS AREN'T ALLOWED! AS SOON AS YOU CMPLETE IT, IT WILL BE DELETED BY THE SCRATCH TEAM SO WHY TRY?

Sorry for the CAPS LOCK! Was bored. But yeah, listen to what red said. ↑↑↑

FRUITYGRRL
•♥•FOREVER•♥•
Baronofcheck
Scratcher
9 posts

WORKING CHATROOM

FruityGrrl wrote:

CHATROOMS AREN'T ALLOWED! AS SOON AS YOU CMPLETE IT, IT WILL BE DELETED BY THE SCRATCH TEAM SO WHY TRY?

Sorry for the CAPS LOCK! Was bored. But yeah, listen to what red said. YES but the chatroom only uses pre programed words so no one will say cuss words, therefore there is no reason to ban it.

Last edited by Baronofcheck (March 25, 2014 20:39:07)

EvilKat55
Scratcher
66 posts

WORKING CHATROOM

Fruity, the scratch team allows regulated chat. If it is one where you can type anything you want, then it'll get deleted. Baron seems that he is carefully regulating it so there is only a few things to say. It's not like you can type “hey yall aimma go over to the K-mart today at 7:00 pm!”
yaymeiwin
Scratcher
52 posts

WORKING CHATROOM

I'm sorry that making words are long. But, you'll finish it someday! So, here's a script you'll need.
Chat is cloud variable!
when green flag clicked
forever

ask [Type your chat!] and wait
set [Chat] to (answer)
if <(SafeChat) contains (Chat)> then
add (Chat) to (Chatbox)
else
set (Chat) to [this answer is not approved by SafeChat, sorry!]
add (Chat) to (Chatbox)
end
end
end

define vocaloid
say [NO] for (the whole day) secs
play sound [Go Google It v] until done
cheesyness #bad grammar FTW
WarriorLakepelt
Scratcher
100+ posts

WORKING CHATROOM

FruityGrrl wrote:

CHATROOMS AREN'T ALLOWED! AS SOON AS YOU CMPLETE IT, IT WILL BE DELETED BY THE SCRATCH TEAM SO WHY TRY?

Sorry for the CAPS LOCK! Was bored. But yeah, listen to what red said. ↑↑↑

A safe chatroom with words you select are allowed.
remotelock
Scratcher
28 posts

WORKING CHATROOM

I think I might have a go at this project! Thanks for the ideas and tips yaymeiwin, Baronofcheck and all you other guys who posted em.


when green flag clicked
forever
a scratcher
end

remotelock
Scratcher
28 posts

WORKING CHATROOM

ProdigyZeta7 wrote:

Also note that you need to detect if a response is numerical so that you can prevent users from exchanging phone numbers and such. So to do that:
define number check (string)
if <(string) = ((string) + (0))> //this is to confirm that the string is a number
if <(length of (string)) > [6]> //if the number is 7 or more digits long, it might be a phone number
set [return v] to [*] //censor the number
else
set [return v] to (string) //otherwise, return the string as it was
end
else
set [return v] to (string)
end

yaymeiwin wrote:

I'm sorry that making words are long. But, you'll finish it someday! So, here's a script you'll need.
Chat is cloud variable!
when green flag clicked
forever

ask [Type your chat!] and wait
set [Chat] to (answer)
if <(SafeChat) contains (Chat)> then
add (Chat) to (Chatbox)
else
set (Chat) to [this answer is not approved by SafeChat, sorry!]
add (Chat) to (Chatbox)
end
end
end

Thanks for these



https://www.google.co.uk/url?
sa=i&rct=j&q=mottos+to+live+by&source=images&cd=&cad=rja&uact=8&docid=yWALOJyoHs5BPM&tbnid=ZU4TKMHLK0md5M:&ved=0CAUQjRw&url=http%3A%2F%2Fcommunity.us.playstation.com%2Ft5%2FOff-Topic%2FYour-creed-your-motto%2Ftd-p%2F41183749%2Fpage%2F3&ei=S9Q3U4WZFamc0QX4h4DoCQ&psig=AFQjCNH-I5b3beYm7CdsNtrxBAGOmoONPQ&ust=1396254123790913

Last edited by remotelock (March 30, 2014 08:29:40)



when green flag clicked
forever
a scratcher
end

Powered by DjangoBB