Discuss Scratch
- FreshTheCat
-
Scratcher
500+ posts
Add arguments to the event blocks
I think it should be called “broadcast and send.”Yeah, this wording is better. But I'd like to change it *evil maniac laughter*broadcast [message v] and send (var) :: events
broadcast (message v) with data (data)(data) ➖ ➕ ::events
broadcast (message v) with data (data)(data) ➖ ➕ ::events
- FreshTheCat
-
Scratcher
500+ posts
Add arguments to the event blocks
Aww man, ninja'd 

I think it should be called “broadcast and send” to keep with Scratch's desire to be easily understood.Nice idea, although I feel like “broadcast” and “send” are synonyms, so then this happens:broadcast [message v] and send (var) :: eventsbroadcast [data v] and send [message name] :: events
I'd use “with data:” instead:broadcast [message v] with data: [cool idea! support] :: events
- DarthVader4Life
-
Scratcher
1000+ posts
Add arguments to the event blocks
It shows up.I think it should be called “broadcast and send.”Yeah, this wording is better. But I'd like to change it *evil maniac laughter*broadcast [message v] and send (var) :: eventsbroadcast (message v) with data (data)(data) ➖ ➕ ::eventsthe minus-plus part was inspired by makecode, please tell me the minus and plus actually show upbroadcast (message v) with data (data)(data) ➖ ➕ ::events
Also, you did add in the multi-argument aspect of this suggestion, so not a complete ninja.
“with data” is probably the best simple wording to use, aside from maybe using “input(s).”
- NewRAF
-
Scratcher
100+ posts
Add arguments to the event blocks
Support, removes some needs for temporary variables
- d016
-
Scratcher
100+ posts
Add arguments to the event blocks
-snip-
Also, you did add in the multi-argument aspect of this suggestion, so not a complete ninja.
“with data” is probably the best simple wording to use, aside from maybe using “input(s).”
I feel like “inputs” might be too confusing for some scratchers. It doesn't really matter if we can send multiple data pieces; even just one CSV value would be enough for 99% of all the problems this suggestion solves
- Kanyata
-
Scratcher
94 posts
Add arguments to the event blocks
What is a CSV value again?-snip-
Also, you did add in the multi-argument aspect of this suggestion, so not a complete ninja.
“with data” is probably the best simple wording to use, aside from maybe using “input(s).”
I feel like “inputs” might be too confusing for some scratchers. It doesn't really matter if we can send multiple data pieces; even just one CSV value would be enough for 99% of all the problems this suggestion solves
- d016
-
Scratcher
100+ posts
Add arguments to the event blocks
-snip-
What is a CSV value again?
It's, when, you, seperate, a, list, of, values, with, commas., In, fact;
CSV, stands, for:, Comma, Separated, Value;
- sandetsun
-
Scratcher
45 posts
Add arguments to the event blocks
This is a great idea, and like newraf said it would definitely remove some unneeded temporary variables
Feels like a global custom block
Feels like a global custom block
- Kanyata
-
Scratcher
94 posts
Add arguments to the event blocks
This is a great idea, and like newraf said it would definitely remove some unneeded temporary variablesthis is different from a global custom block because each sprite could do their own thing when they receive the message
Feels like a global custom block
- CodeComet6161
-
Scratcher
1000+ posts
Add arguments to the event blocks
when I receive [ v] (Argument1::events)@delInput@addInput <Boolean1::events>@delInput@addInput::events hat
broadcast ( v) []@delInput@addInput <>@delInput@addInput::events
broadcast ( v) []@delInput@addInput <>@delInput@addInput and wait ::events
- Kanyata
-
Scratcher
94 posts
Add arguments to the event blocks
This is an interesting take, almost like custom blockswhen I receive [ v] (Argument1::events)@delInput@addInput <Boolean1::events>@delInput@addInput::events hat
broadcast ( v) []@delInput@addInput <>@delInput@addInput::events
broadcast ( v) []@delInput@addInput <>@delInput@addInput and wait ::events
- TimothyLawyer
-
Scratcher
1000+ posts
Add arguments to the event blocks
The New Message window could be changed to be more like Make a Block. Then choosing the message in the broadcast (or when i receive) block could change that block to have the custom data inputs of that message. ◂ ▸ or - + wouldn't be necessary.This is an interesting take, almost like custom blockswhen I receive [ v] (Argument1::events)@delInput@addInput <Boolean1::events>@delInput@addInput::events hat
broadcast ( v) []@delInput@addInput <>@delInput@addInput::events
broadcast ( v) []@delInput@addInput <>@delInput@addInput and wait ::events
broadcast [message with inputs v] with [] []:: events
broadcast [message with inputs v] with [cake] (peppermint bark) :: events
when I receive [message with inputs v] with (input 1 :: events) (input 2 :: events) :: events hat
broadcast [message without inputs v]
when I receive [message without inputs v]