Discuss Scratch
- Discussion Forums
- » Suggestions
- » a finish unless block
- robloxdude10
- Scratcher
1000+ posts
a finish unless block
Ok. Please use the scratchblocks plugin to show me what you mean.THAT IS NOT WHAT i AM SAYING AT ALL! So, like this?do unless<...::grey boolean>{Wait I just realized this has a workaround so I'm reporting as resolved.
...::grey
}:: control
i have moved accounts you can find me here
- Yeetoburro1
- Scratcher
1000+ posts
a finish unless block
I don't see how this is not what you are saying. You want something that does something and will just stop anytime if a certain condition, and my script does that. Also, you are being kinda rude, which makes me not want to take part in this discussion.also not what I am saying at allDo somethingRepeat this to your hearts desire and this should be the workaround
if <whatever> then
stop [this script v]
end
- HTML-Fan
- Scratcher
1000+ posts
a finish unless block
It's more or less this. Maybe the stop script x block could help:I don't see how this is not what you are saying. You want something that does something and will just stop anytime if a certain condition, and my script does that. Also, you are being kinda rude, which makes me not want to take part in this discussion.also not what I am saying at allDo somethingRepeat this to your hearts desire and this should be the workaround
if <whatever> then
stop [this script v]
end
when green flag clicked - name: script :: hat :: eventsOf course, you can just use “stop other scripts in sprite”.
do something cool :: grey
when green flag clicked
forever
if <condition :: grey> then
stop script [script v] :: control
end
end
And yes, it sounds like he's somehow angry or misunderstood (which may be the case).
Last edited by HTML-Fan (June 29, 2020 19:22:26)
Joke of the century: Just made a good remix of this with Scratch's music extension.
BE MOIST B) AND CHECK OUT
_____ ______ _ _
|_ _| | _ (_) (_)
| |_ _____ | | | |_ _ __ ___ ___ _ __ ___ _ ___ _ __ ___ #RoadToMoist100
| \ \ /\ / / _ \ | | | | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __|
| |\ V V / (_) | | |/ /| | | | | | | __/ | | \__ \ | (_) | | | \__ \
\_/ \_/\_/ \___/ |___/ |_|_| |_| |_|\___|_| |_|___/_|\___/|_| |_|___/
- hotdogbananaman
- Scratcher
100+ posts
a finish unless block
noIt's more or less this. Maybe the stop script x block could help:I don't see how this is not what you are saying. You want something that does something and will just stop anytime if a certain condition, and my script does that. Also, you are being kinda rude, which makes me not want to take part in this discussion.also not what I am saying at allDo somethingRepeat this to your hearts desire and this should be the workaround
if <whatever> then
stop [this script v]
endwhen green flag clicked - name: script :: hat :: eventsAnd yes, it sounds like he's somehow angry or misunderstood (which may be the case).
forever
do something cool :: grey
end
when green flag clicked
forever
if <condition :: grey> then
stop script [script v] :: control
end
end
minecraft creepers be like:
forever
stop [this house from existing v]
end
- HTML-Fan
- Scratcher
1000+ posts
a finish unless block
Man, I haven't seen such a long and exact post in a loooong time! no
Joke of the century: Just made a good remix of this with Scratch's music extension.
BE MOIST B) AND CHECK OUT
_____ ______ _ _
|_ _| | _ (_) (_)
| |_ _____ | | | |_ _ __ ___ ___ _ __ ___ _ ___ _ __ ___ #RoadToMoist100
| \ \ /\ / / _ \ | | | | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __|
| |\ V V / (_) | | |/ /| | | | | | | __/ | | \__ \ | (_) | | | \__ \
\_/ \_/\_/ \___/ |___/ |_|_| |_| |_|\___|_| |_|___/_|\___/|_| |_|___/
- hotdogbananaman
- Scratcher
100+ posts
a finish unless block
noone is understanding wht I am saying so I am clarifyingMan, I haven't seen such a long and exact post in a loooong time! no
minecraft creepers be like:
forever
stop [this house from existing v]
end
- HTML-Fan
- Scratcher
1000+ posts
a finish unless block
With one word.noone is understanding wht I am saying so I am clarifyingMan, I haven't seen such a long and exact post in a loooong time! no
Joke of the century: Just made a good remix of this with Scratch's music extension.
BE MOIST B) AND CHECK OUT
_____ ______ _ _
|_ _| | _ (_) (_)
| |_ _____ | | | |_ _ __ ___ ___ _ __ ___ _ ___ _ __ ___ #RoadToMoist100
| \ \ /\ / / _ \ | | | | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __|
| |\ V V / (_) | | |/ /| | | | | | | __/ | | \__ \ | (_) | | | \__ \
\_/ \_/\_/ \___/ |___/ |_|_| |_| |_|\___|_| |_|___/_|\___/|_| |_|___/
- Paddle2See
- Scratch Team
1000+ posts
a finish unless block
I believe what they are asking for is a way to set up a “break” condition on a stack of blocks such that when a boolean becomes true, the stack stops execution (in whatever block happens to be executing) without completing it's operation.
It would be similar to starting a
from a stack of blocks just before it executes.
It's an interesting idea - do we have any good use cases?
It would be similar to starting a
wait until <break condition>
stop [stack of blocks that called me v]
from a stack of blocks just before it executes.
It's an interesting idea - do we have any good use cases?
Last edited by Paddle2See (June 29, 2020 18:31:57)
Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.
This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)
;
- Maximouse
- Scratcher
1000+ posts
a finish unless block
But when someone said this: I believe what they are asking for is a way to set up a “break” condition on a stack of blocks such that when a boolean becomes true, the stack stops execution (in whatever block happens to be executing) without completing it's operation.
It would be similar to starting await until <break condition>
stop [stack of blocks that called me v]
from a stack of blocks just before it executes.
It's an interesting idea - do we have any good use cases?
stop script x block could help:OP replied with “no”. It's more or less this. Maybe thewhen green flag clicked - name: script :: hat :: eventsAnd yes, it sounds like he's somehow angry or misunderstood (which may be the case).
forever
do something cool :: grey
end
when green flag clicked
forever
if <condition :: grey> then
stop script [script v] :: control
end
end
- hotdogbananaman
- Scratcher
100+ posts
a finish unless block
if you need to make it stop when they go to the next level but don't need it to finish he script orthe animation, or if you are making a tutorial for something and it has a skip button, it would skip the tutorial for that I believe what they are asking for is a way to set up a “break” condition on a stack of blocks such that when a boolean becomes true, the stack stops execution (in whatever block happens to be executing) without completing it's operation.
It would be similar to starting await until <break condition>
stop [stack of blocks that called me v]
from a stack of blocks just before it executes.
It's an interesting idea - do we have any good use cases?
minecraft creepers be like:
forever
stop [this house from existing v]
end
- hotdogbananaman
- Scratcher
100+ posts
a finish unless block
I said no because it is not a loopBut when someone said this: I believe what they are asking for is a way to set up a “break” condition on a stack of blocks such that when a boolean becomes true, the stack stops execution (in whatever block happens to be executing) without completing it's operation.
It would be similar to starting await until <break condition>
stop [stack of blocks that called me v]
from a stack of blocks just before it executes.
It's an interesting idea - do we have any good use cases?stop script x block could help:OP replied with “no”. It's more or less this. Maybe thewhen green flag clicked - name: script :: hat :: eventsAnd yes, it sounds like he's somehow angry or misunderstood (which may be the case).
forever
do something cool :: grey
end
when green flag clicked
forever
if <condition :: grey> then
stop script [script v] :: control
end
end
minecraft creepers be like:
forever
stop [this house from existing v]
end
- HTML-Fan
- Scratcher
1000+ posts
a finish unless block
It is!
So, do I understand you right? You just need
So, do I understand you right? You just need
repeat until <condition :: grey>? In that case, it's your lucky day, the block exists.
end
Joke of the century: Just made a good remix of this with Scratch's music extension.
BE MOIST B) AND CHECK OUT
_____ ______ _ _
|_ _| | _ (_) (_)
| |_ _____ | | | |_ _ __ ___ ___ _ __ ___ _ ___ _ __ ___ #RoadToMoist100
| \ \ /\ / / _ \ | | | | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __|
| |\ V V / (_) | | |/ /| | | | | | | __/ | | \__ \ | (_) | | | \__ \
\_/ \_/\_/ \___/ |___/ |_|_| |_| |_|\___|_| |_|___/_|\___/|_| |_|___/
- hotdogbananaman
- Scratcher
100+ posts
a finish unless block
IT IS NOT A LOOP! It is!
So, do I understand you right? You just needrepeat until <condition :: grey>? In that case, it's your lucky day, the block exists.
end
minecraft creepers be like:
forever
stop [this house from existing v]
end
- HTML-Fan
- Scratcher
1000+ posts
a finish unless block
WHAT IS NOT A LOOP??? BTW MY SHIFT AND CAPSLOCK KEY IS BROKEN ON MY KEYBOARD TOO!
Last edited by HTML-Fan (June 29, 2020 18:44:40)
Joke of the century: Just made a good remix of this with Scratch's music extension.
BE MOIST B) AND CHECK OUT
_____ ______ _ _
|_ _| | _ (_) (_)
| |_ _____ | | | |_ _ __ ___ ___ _ __ ___ _ ___ _ __ ___ #RoadToMoist100
| \ \ /\ / / _ \ | | | | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __|
| |\ V V / (_) | | |/ /| | | | | | | __/ | | \__ \ | (_) | | | \__ \
\_/ \_/\_/ \___/ |___/ |_|_| |_| |_|\___|_| |_|___/_|\___/|_| |_|___/
- Maximouse
- Scratcher
1000+ posts
a finish unless block
So it's like this?IT IS NOT A LOOP! It is!
So, do I understand you right? You just needrepeat until <condition :: grey>? In that case, it's your lucky day, the block exists.
end
stop when <> {
} :: control
- HTML-Fan
- Scratcher
1000+ posts
a finish unless block
Should it instantly stop when the condition becomes true? Wherever the code is?
Joke of the century: Just made a good remix of this with Scratch's music extension.
BE MOIST B) AND CHECK OUT
_____ ______ _ _
|_ _| | _ (_) (_)
| |_ _____ | | | |_ _ __ ___ ___ _ __ ___ _ ___ _ __ ___ #RoadToMoist100
| \ \ /\ / / _ \ | | | | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __|
| |\ V V / (_) | | |/ /| | | | | | | __/ | | \__ \ | (_) | | | \__ \
\_/ \_/\_/ \___/ |___/ |_|_| |_| |_|\___|_| |_|___/_|\___/|_| |_|___/
- hotdogbananaman
- Scratcher
100+ posts
a finish unless block
then go to the thing under itSo it's like this?IT IS NOT A LOOP! It is!
So, do I understand you right? You just needrepeat until <condition :: grey>? In that case, it's your lucky day, the block exists.
endstop when <> {
} :: control
minecraft creepers be like:
forever
stop [this house from existing v]
end
- hotdogbananaman
- Scratcher
100+ posts
a finish unless block
then go to the thig under it Should it instantly stop when the condition becomes true? Wherever the code is?
minecraft creepers be like:
forever
stop [this house from existing v]
end
- Maximouse
- Scratcher
1000+ posts
a finish unless block
OK. So if I write this codethen go to the thing under itSo it's like this?IT IS NOT A LOOP! It is!
So, do I understand you right? You just needrepeat until <condition :: grey>? In that case, it's your lucky day, the block exists.
endstop when <> {
} :: control
stop when <touching [mouse-pointer v]?> {it would say “Hi!” when either 1 second passes or you move mouse over the sprite?
wait (1) seconds :: control
} :: control
say [Hi!]
- HTML-Fan
- Scratcher
1000+ posts
a finish unless block
Okay. I can tell you how to do it.
Convert
Convert
when green flag clickedinto
finish unless <condition :: grey>{
do something:: grey
} :: control
continue :: grey
when green flag clickedOr with the stop script block you can just stop the one green flag script.
do something:: grey
when green flag clicked
wait until <condition :: grey>
stop [other scripts in sprite v]
broadcast [continue v]
when I receive [continue v]
continue :: grey
Last edited by HTML-Fan (June 29, 2020 19:25:52)
Joke of the century: Just made a good remix of this with Scratch's music extension.
BE MOIST B) AND CHECK OUT
_____ ______ _ _
|_ _| | _ (_) (_)
| |_ _____ | | | |_ _ __ ___ ___ _ __ ___ _ ___ _ __ ___ #RoadToMoist100
| \ \ /\ / / _ \ | | | | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __|
| |\ V V / (_) | | |/ /| | | | | | | __/ | | \__ \ | (_) | | | \__ \
\_/ \_/\_/ \___/ |___/ |_|_| |_| |_|\___|_| |_|___/_|\___/|_| |_|___/
- Discussion Forums
- » Suggestions
- » a finish unless block