Discuss Scratch
- Discussion Forums
- » Suggestions
- » "Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
- fdreerf
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
I think it should wait until both scripts are finished, as your suggestion will more or less make the block much more difficult to use. Which one of the scripts will end the E block and continue the next script if it ends? How about, if one script ends, both end?
Last edited by fdreerf (Dec. 15, 2020 17:23:42)
- gosoccerboy5
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Actually, that makes a looooottttt more sense, thanks for clearing that up.I think it should wait until both scripts are finished, as your suggestion will more or less make the block much more difficult to use. Which one of the scripts will end the E block and continue the next script if it ends? How about, if one script ends, both end?
- portalpower
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
no support. easy workaround:when green flag clicked
forever
move (10) steps
wait (0.5) secs
next costume
end
(FOR THE LOVE OF ALL THAT IS GOOD READ THE ENTIRE OP. I ASKED NICELY BEFORE BUT PEOPLE DON'T SEEM TO CARE. Bruh.)
- MeIzAwezomeDede
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Wh… no support. easy workaround:Those are just random blocks how is that a workaroundwhen green flag clicked
forever
move (10) steps
wait (0.5) secs
next costume
end
Also read the op jeez
- xXRedTheCoderXx
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Which one of the scripts will end the E block and continue the next script if it ends? How about, if one script ends, both end?
Please read the entire OP. Yes, you could put code underneath this block, unlike the forever block. Code stacked underneath this block will run when all code is done running in the run, while running bock(s). So, if you put a forever loop in one of the branches of this block, code underneath it will never run.
- lovecodeabc
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
What if
do {Is the script below stopped by the above?
...
stop [this script v]
}while doing{
...
}
- xXRedTheCoderXx
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Finally! A question that hasn't been answered yet and that adds to the discussion! What ifdo {Is the script below stopped by the above?
...
stop [this script v]
}while doing{
...
}
(No offense

Anyway… I'll gladly answer this question.
No, the only thing that's stopped is the code in the same branch as the “stop this script” block, as the other branches are essentially their own scripts. That means the other branches will be unaffected, along with any additional code that was placed under the “run, and run” E block.
- mybearworld
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
This makes me think about What ifdo {Is the script below stopped by the above?
...
stop [this script v]
}while doing{
...
}
do {
omg hahaaha :: #ff6680
} while doing {
omg hahaaha :: #ff6680
} :: #ffab19
definе {omg hahaaha :: #FF4D6A stack} :: #ff6680 hat // run without screen refresh
forever {
omg hahaaha :: #ff6680
} :: #ffab19
- xXRedTheCoderXx
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
There are already many ways to crash Scratch, using similar methods to that, but either way it's against the ToS. This makes me think aboutdo {
omg hahaaha :: #ff6680
} while doing {
omg hahaaha :: #ff6680
} :: #ffab19
definе {omg hahaaha :: #FF4D6A stack} :: #ff6680 hat // run without screen refresh
forever {
omg hahaaha :: #ff6680
} :: #ffab19

- gosoccerboy5
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Oh, ok (insert embarrassed face here)Which one of the scripts will end the E block and continue the next script if it ends? How about, if one script ends, both end?Please read the entire OP. Yes, you could put code underneath this block, unlike the forever block. Code stacked underneath this block will run when all code is done running in the run, while running bock(s). So, if you put a forever loop in one of the branches of this block, code underneath it will never run.
fdreerf helped me on that one
- Futurebot5
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Support! I was just trying to make a workaround for another block (Repeat for () seconds) then realized that it couldn't be in a custom block because I had to have a timer running at the same time.
- NanoPIex
-
500+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Support! This would be useful!
- gosoccerboy5
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
wait why Support! This would be useful!
- NanoPIex
-
500+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Oops! Well, this would really help with clones! (Sorry, I was really in a hurry)wait why Support! This would be useful!
- cheatcodeman
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
This would be useful with the music extension. Support.
- NanoPIex
-
500+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Bump!
r
i
n
g
u
p
r
i
n
g
u
p
- MeIzAwezomeDede
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Literally a few pages ago you were spamming about "no support because Support! This would be useful!*insert workaround that doesn't even work*" multiple times but ok i guess
- lovecodeabc
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Also, is the below a workaround?
define yeah i think this is a block (a parameter)
broadcast [1 v]
broadcast [2 v]
...
when gf clicked
set [2? v] to [false]
yeah i think this is a block (a value)
when I receive [2 v]
set [2? v] to [true]
when I receive [1 v]
wait until <(2?) = [true]>
move (a parameter) steps
...
Last edited by lovecodeabc (Dec. 17, 2020 01:11:45)
- gosoccerboy5
-
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
But the E block proposed will continue once both scripts are done, whereas this one will continue immediately (I think???)
- Leekalo
-
100+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Support! This will allow scripts with waiting to all be placed in one giant script!
- Discussion Forums
- » Suggestions
-
» "Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)