Discuss Scratch

D-ScratchNinja
Scratcher
1000+ posts

A "send me a message" block

This block called
send me a message [...] :: control
would be under the control category and would send you an account message when it's triggered. You cannot use this to send messages to others, and I would use it if I want to get a notification of when a survey has a certain amount of answers.

For example,
when I receive [check vote count v]
if <<(☁ total votes) > [149]> and <not<(☁ goal reached) = [true]>>> then
set [☁ goal reached v] to [true]
send me a message [150 users voted on your survey in the project.] :: control
end

Some limitations to prevent abuse would be, getting disabled after seeing inside, only one message maximum sent per session or user, must be a constant value (not dependent on variables), and only one possible message you can enter allowed.

This is a duplicate but there aren't any plans to close this topic right now.

Last edited by D-ScratchNinja (Jan. 6, 2021 00:12:33)

StrangeMagic32
Scratcher
1000+ posts

A "send me a message" block

Sounds cool, but I think it may get very resource intensive, and the sending messages to others would entail Private Messaging which is rejected.

Last edited by StrangeMagic32 (April 20, 2019 20:15:41)

-Accio-
Scratcher
1000+ posts

A "send me a message" block

StrangeMagic32 wrote:

Sounds cool, but I think it may get very resource intensive, and the sending messages to others would entail Private Messaging which is rejected.
They said in the suggestion that it could only be used to send a message to yourself.
StrangeMagic32
Scratcher
1000+ posts

A "send me a message" block

-Accio- wrote:

StrangeMagic32 wrote:

Sounds cool, but I think it may get very resource intensive, and the sending messages to others would entail Private Messaging which is rejected.
They said in the suggestion that it could only be used to send a message to yourself.
lol woops, I missed the “cannot” xD
Za-Chary
Scratcher
1000+ posts

A "send me a message" block

-Accio- wrote:

They said in the suggestion that it could only be used to send a message to yourself.
Can't you still use this exact block to private message anyway, though?

when green flag clicked
ask [Type in your email address so I can contact you!] and wait
send me a message (answer) :: control

Even if email wasn't involved, you could still do it between two projects, and there's no way to report it.

when green flag clicked
ask [Type in a private message to contact me!] and wait
send me a message (answer) :: control

There would have to be something different about this block in order to have a message be sent — maybe reporters and booleans would not be allowed to go into the block.
D-ScratchNinja
Scratcher
1000+ posts

A "send me a message" block

Okay, yeah. I'd make another restriction be that it can only be constant - not set by a variable.
Flipped_
Scratcher
500+ posts

A "send me a message" block

Even with restrictions for dropping reporters in the block, you would still be able to send a message.



I think that activating the block inside a shared project would not send you a message, a reporter-like popup should appear below the block saying “You cannot activate this block on somebody else's project.”
LegoManiac04
Scratcher
1000+ posts

A "send me a message" block

Support!
This is an interesting idea.


In regards to what Za-Chary and Flipped_ said, I think it would still just send you a message, so no matter where you do it , it'll send it to you.
-Accio-
Scratcher
1000+ posts

A "send me a message" block

Support (With conditions)

I support this suggestion, with the following suggestions to prevent private messaging.

1. It would have to be constant, and not able to be changed by variables.
2. If someone sees inside the project and changes the block, the message would be sent to them instead (or wouldn't send, similar to cloud variables)

I think this idea is pretty cool, but it needs to be fleshed out a bit more to add restrictions to prevent private messaging.


No support

There are too many loopholes which could be used for private messaging. Lots more restrictions or conditions would have to be added in order to make this a feature which is safe for all Scratchers.

Last edited by -Accio- (April 21, 2019 12:21:22)

D-ScratchNinja
Scratcher
1000+ posts

A "send me a message" block

Flipped_ wrote:

Even with restrictions for dropping reporters in the block, you would still be able to send a message.



I think that activating the block inside a shared project would not send you a message, a reporter-like popup should appear below the block saying “You cannot activate this block on somebody else's project.”
Yes, that's something I'm thinking about too. I was trying to explain it here, but I might have had a little trouble with the details.
And like if you see inside a project and Cloud Data doesn't save (to prevent users from cheating to change a highscore), when you see inside, other users that manually activate the block would not trigger anything. Useful for keeping spam and PM (private messaging) away.
Luvexina
Scratcher
500+ posts

A "send me a message" block

Support, with the same conditions as @-Accio-.

Last edited by Luvexina (April 21, 2019 00:34:24)

54329
Scratcher
500+ posts

A "send me a message" block

Support.

Given that you can't add variables and if a user enters the project, they “use” the block (like how cloud data works).
ihgfedcba
Scratcher
100+ posts

A "send me a message" block

Za-Chary wrote:

-Accio- wrote:

They said in the suggestion that it could only be used to send a message to yourself.
Can't you still use this exact block to private message anyway, though?

when green flag clicked
ask [Type in your email address so I can contact you!] and wait
send me a message (answer) :: control

Even if email wasn't involved, you could still do it between two projects, and there's no way to report it.

when green flag clicked
ask [Type in a private message to contact me!] and wait
send me a message (answer) :: control

There would have to be something different about this block in order to have a message be sent — maybe reporters and booleans would not be allowed to go into the block.
You could still make an ask project that gives the e-mail or private message character by character and uses repetitive if blocks to determine what to send. Like,

when gf clicked
say [Send me a private message by giving me characters one by one!] for [5] secs
forever
ask [type the next character] and wait
if <(answer)=[ ]> then
send me a message [ ] :: control
end
if <(answer)=[!]> then
send me a message [!] :: control
end
if <(answer)=["]> then
send me a message ["] :: control
end
...
end
Za-Chary
Scratcher
1000+ posts

A "send me a message" block

ihgfedcba wrote:

Za-Chary wrote:

-Accio- wrote:

They said in the suggestion that it could only be used to send a message to yourself.
Can't you still use this exact block to private message anyway, though?

when green flag clicked
ask [Type in your email address so I can contact you!] and wait
send me a message (answer) :: control

Even if email wasn't involved, you could still do it between two projects, and there's no way to report it.

when green flag clicked
ask [Type in a private message to contact me!] and wait
send me a message (answer) :: control

There would have to be something different about this block in order to have a message be sent — maybe reporters and booleans would not be allowed to go into the block.
You could still make an ask project that gives the e-mail or private message character by character and uses repetitive if blocks to determine what to send. Like,

when gf clicked
say [Send me a private message by giving me characters one by one!] for [5] secs
forever
ask [type the next character] and wait
if <(answer)=[ ]> then
send me a message [ ] :: control
end
if <(answer)=[!]> then
send me a message [!] :: control
end
if <(answer)=["]> then
send me a message ["] :: control
end
...
end
I think this is a very good point, and something that must be seriously considered. Your example even features “constant” messages, even, which others are saying may be a good idea.

It's definitely a tedious way to private message, but it can still be done, and inappropriate messages could be sent as a result.

I have one other question for the OP: how would this block work in the offline editor?
TM2125
Scratcher
500+ posts

A "send me a message" block

Za-Chary wrote:

ihgfedcba wrote:

Za-Chary wrote:

-Accio- wrote:

They said in the suggestion that it could only be used to send a message to yourself.
Can't you still use this exact block to private message anyway, though?

when green flag clicked
ask [Type in your email address so I can contact you!] and wait
send me a message (answer) :: control

Even if email wasn't involved, you could still do it between two projects, and there's no way to report it.

when green flag clicked
ask [Type in a private message to contact me!] and wait
send me a message (answer) :: control

There would have to be something different about this block in order to have a message be sent — maybe reporters and booleans would not be allowed to go into the block.
You could still make an ask project that gives the e-mail or private message character by character and uses repetitive if blocks to determine what to send. Like,

when gf clicked
say [Send me a private message by giving me characters one by one!] for [5] secs
forever
ask [type the next character] and wait
if <(answer)=[ ]> then
send me a message [ ] :: control
end
if <(answer)=[!]> then
send me a message [!] :: control
end
if <(answer)=["]> then
send me a message ["] :: control
end
...
end
I think this is a very good point, and something that must be seriously considered. Your example even features “constant” messages, even, which others are saying may be a good idea.

It's definitely a tedious way to private message, but it can still be done, and inappropriate messages could be sent as a result.

I have one other question for the OP: how would this block work in the offline editor?
I guess, maybe… it wouldn't?
-Accio-
Scratcher
1000+ posts

A "send me a message" block

ihgfedcba wrote:

Za-Chary wrote:

-Accio- wrote:

They said in the suggestion that it could only be used to send a message to yourself.
Can't you still use this exact block to private message anyway, though?

when green flag clicked
ask [Type in your email address so I can contact you!] and wait
send me a message (answer) :: control

Even if email wasn't involved, you could still do it between two projects, and there's no way to report it.

when green flag clicked
ask [Type in a private message to contact me!] and wait
send me a message (answer) :: control

There would have to be something different about this block in order to have a message be sent — maybe reporters and booleans would not be allowed to go into the block.
You could still make an ask project that gives the e-mail or private message character by character and uses repetitive if blocks to determine what to send. Like,

when gf clicked
say [Send me a private message by giving me characters one by one!] for [5] secs
forever
ask [type the next character] and wait
if <(answer)=[ ]> then
send me a message [ ] :: control
end
if <(answer)=[!]> then
send me a message [!] :: control
end
if <(answer)=["]> then
send me a message ["] :: control
end
...
end
Based off of this, I withdraw my support. There are too many loopholes which could be used for private messaging.
D-ScratchNinja
Scratcher
1000+ posts

A "send me a message" block

Bold text in quotes means I'm responding to it.

Za-Chary wrote:

ihgfedcba wrote:

Za-Chary wrote:

-Accio- wrote:

They said in the suggestion that it could only be used to send a message to yourself.
Can't you still use this exact block to private message anyway, though?

when green flag clicked
ask [Type in your email address so I can contact you!] and wait
send me a message (answer) :: control

Even if email wasn't involved, you could still do it between two projects, and there's no way to report it.

when green flag clicked
ask [Type in a private message to contact me!] and wait
send me a message (answer) :: control

There would have to be something different about this block in order to have a message be sent — maybe reporters and booleans would not be allowed to go into the block.
You could still make an ask project that gives the e-mail or private message character by character and uses repetitive if blocks to determine what to send. Like,

when gf clicked
say [Send me a private message by giving me characters one by one!] for [5] secs
forever
ask [type the next character] and wait
if <(answer)=[ ]> then
send me a message [ ] :: control
end
if <(answer)=[!]> then
send me a message [!] :: control
end
if <(answer)=["]> then
send me a message ["] :: control
end
...
end
I think this is a very good point, and something that must be seriously considered. Your example even features “constant” messages, even, which others are saying may be a good idea.

It's definitely a tedious way to private message, but it can still be done, and inappropriate messages could be sent as a result.
Remember, if a user changes, modifies, or activates it, it won't work. So, the creator of the project would have to do that, and it would not be allowed. Maybe another rule could be for there to be a max of this block, e.g. 4…
send me a message [...] :: control
send me a message [...] :: control
send me a message [...] :: control
send me a message [...] :: control
No more than this amount allowed
I have one other question for the OP: how would this block work in the offline editor?
It would not work.
Za-Chary
Scratcher
1000+ posts

A "send me a message" block

D-ScratchNinja wrote:

-snip-
If not even the user can change the words in the block, how is it supposed to even send a message in the first place? Why have an option to type in text?
-Accio-
Scratcher
1000+ posts

A "send me a message" block

Za-Chary wrote:

D-ScratchNinja wrote:

-snip-
If not even the user can change the words in the block, how is it supposed to even send a message in the first place? Why have an option to type in text?
Actually, this is a pretty good idea. If this block were implemented, it could just be a “Send me a message” block, and the message could just be something like “This is an alert from your project ”Test Project“, which can be found here: _____________”
Za-Chary
Scratcher
1000+ posts

A "send me a message" block

-Accio- wrote:

Za-Chary wrote:

D-ScratchNinja wrote:

-snip-
If not even the user can change the words in the block, how is it supposed to even send a message in the first place? Why have an option to type in text?
Actually, this is a pretty good idea. If this block were implemented, it could just be a “Send me a message” block, and the message could just be something like “This is an alert from your project ”Test Project“, which can be found here: _____________”
You are correct — I thought of that as well; maybe there could be a dropdown with a few options to choose from.

The only other concern I have is if someone accidentally does this:

forever
send me a message :: control
end

A way to combat this would be to only have one message be sent until it is read, similarly to how the forum notifications work.

Powered by DjangoBB