Discuss Scratch

Joshbaker
Scratcher
23 posts

Code implemented recieve tester idea

There's a certain idea of improvement that has been stuck in my head for quite some time now, and I think it's time that I let you guys know.

If we could make a block like this would be fab:
 <[message... ] recieved?> 

The whole idea of it would be that we could test the piece of code to see whether or not something has been recieved or not, it would be a great idea to be able to just implement it into an existing piece of code rather than having to start from control blocks and drag it in.

Anyone feel free to improve my suggestion.
AonymousGuy
Scratcher
1000+ posts

Code implemented recieve tester idea

Please read the topic titled "READ THIS BEFORE SUGGESTING ANYTHING".

jvvg wrote:

9. <broadcast [ ] received> boolean
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.

Powered by DjangoBB