m (fixed completely)
m (Chat rooms aren't allowed on Scratch anymore)
Line 1: Line 1:
 
{{stub|date=December 2017}}
 
{{stub|date=December 2017}}
 
[[File:Whitelist.png|thumb|right|An example of a whitelist.]]
 
[[File:Whitelist.png|thumb|right|An example of a whitelist.]]
A '''whitelist''' is a list of words that are allowed in messages in [[chatroom]] programs. Chatrooms without whitelists are prohibited on Scratch.<ref>https://scratch.mit.edu/discuss/post/3206431</ref>
+
A '''whitelist''' is a list of words that are allowed in messages in [[chatroom]] programs. However, cloud-based chatroom programs are currently prohibited on Scratch.<ref>https://scratch.mit.edu/info/faq/#clouddata</ref>
  
 
Whitelists should not contain words that may be used in rude or otherwise inappropriate sentences.
 
Whitelists should not contain words that may be used in rude or otherwise inappropriate sentences.

Revision as of 03:46, 29 December 2018

Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (December 2017)
An example of a whitelist.

A whitelist is a list of words that are allowed in messages in chatroom programs. However, cloud-based chatroom programs are currently prohibited on Scratch.[1]

Whitelists should not contain words that may be used in rude or otherwise inappropriate sentences.

Example Implementation

A technique to implement a whitelist would be to split the sentence into words and then use this script:

set [i v] to (0)//i stands for iterator
repeat (length of [message v]) //"message" should be split into words as stated above
change [i v] by (1)
if <not<[allowed words v] contains (item (i) of [message v])>> then
replace item (i) of [message v] with []//set this to whatever you want to replace a non-allowed word
end
end

See Also

References

  1. https://scratch.mit.edu/info/faq/#clouddata