Discuss Scratch
- Discussion Forums
- » Suggestions
- » "Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
- fdreerf
-
Scratcher
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?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.
Last edited by fdreerf (Dec. 15, 2020 17:23:42)
- gosoccerboy5
-
Scratcher
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.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?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.
- portalpower
-
Scratcher
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
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
no support. easy workaround:Wh… 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
-
Scratcher
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?
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.Please read the entire OP.
- lovecodeabc
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
What if
do {
...
stop [this script v]
}while doing{
...
}Is the script below stopped by the above?- xXRedTheCoderXx
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
What ifFinally! A question that hasn't been answered yet and that adds to the discussion!do {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
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
What ifThis makes me think aboutdo {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
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
This makes me think aboutThere are already many ways to crash Scratch, using similar methods to that, but either way it's against the ToS.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

- gosoccerboy5
-
Scratcher
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?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.Please read the entire OP.
fdreerf helped me on that one
- Futurebot5
-
Scratcher
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
-
Scratcher
500+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Support! This would be useful!
- gosoccerboy5
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Support! This would be useful!wait why
- NanoPIex
-
Scratcher
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)Support! This would be useful!wait why
- cheatcodeman
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
This would be useful with the music extension. Support.
- NanoPIex
-
Scratcher
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
-
Scratcher
1000+ posts
"Run, and run" E block (READ THE ENTIRE OP BEFORE POSTING)
Support! This would be useful!Literally a few pages ago you were spamming about "no support because *insert workaround that doesn't even work*" multiple times but ok i guess
- lovecodeabc
-
Scratcher
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
-
Scratcher
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
-
Scratcher
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)










