Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] testing topic
- jctag
-
Scratcher
100+ posts
Official [scratchblocks] testing topic
when someone asks [What happened to the discuss button v]:: events hatGreen script…
set [What happened v] to [Scratch cat got revenge on all those people who deleted him. :O]
say (What happened) for (2) secs
set [The link v] to [https://scratch.mit.edu/projects/170349100/]
say (The link) for (2) secs
When I [need to test v]:: events hat
This [post v] will be [added on to v]:: operators
and... :: looks
I will have learned how to [write even more scratchblocks in the forums v]! :: sensing
and... :: looks
I will be [very happy v]!
When This script is [green v] and [called to run v] :: operators hatwhite - ish blue - ish script…
say [Wow, a green script!] :: operators
Get [confused v] :: operators
Get [amazed v] :: operators
Repeat how much you are confused multiplied by [9999999999999999 v] {
Get way more [amazed v] :: operators
Get way more [confused (this pretty much makes it a forever loop) v] :: operators
Say [This is so amazing!!!!!!] for (5) secs and get even more [confused v] and [amazed v] :: operators
Note that this makes it like a forever loop :: operators
Repeat and assure yourself that this [is v] a [forever loop v] and remember that jctag's [favorite v] [color v] is [green v] :: operators
} :: operators
when green flag clicked
run script by the color of [green] :: operators
run script by the color of [white - ish blue - ish] :: #d8ecff
define run script by the color of [color]
Run [script v] that is the color (color) :: sensing
When [your project messes up v]
Get mad
wait until < It works :: operators>
Stop [getting mad v] :: looks stack
Get [happy v] :: operators
Continue :: sensing
when green flag clicked :: operators
say [cool] for [5 v] [days v] :: sound
When This script is [white - ish and blue - ish v] and [called to run v] :: #d8ecff hat
say [Wow, a white-ish blue-ish script!] :: #d8ecff
Get [confused v] :: #d8ecff
Get [amazed v] :: #d8ecff
Repeat how much you are confused multiplied by [9999999999999999 v] {
Get way more [amazed v] :: #d8ecff
Get way more [confused (this pretty much makes it a forever loop) v] :: #d8ecff
Say [This is so amazing!!!!!!] for (5) secs and get even more [confused v] and [amazed v] :: #d8ecff
Note that this makes it like a forever loop :: #d8ecff
Repeat and assure yourself that this [is v] a [forever loop v] :: #d8ecff
} :: #d8ecff
when green flag clicked :: #d8ecff
Say [What???] for [forever] secs
Last edited by jctag (Aug. 5, 2017 21:26:12)
- Lu2333
-
Scratcher
100+ posts
Official [scratchblocks] testing topic
when green flag clicked
think [This Is Awesome!!!!!!!]
- Roseyfurby_Aj
-
Scratcher
100+ posts
Official [scratchblocks] testing topic
After exploring Windows 1.0... :: sound hat
I [get bored v] :: events
go to the [pantry v] :: motion
grab [bag of corn kernels]from[the pantry v] :: list
[pop v][popcorn]using[bag of corn kernels]with[popcorn machine] :: motion
add<<[butter] :: list>,<[salt] :: list>,<[caramel] :: list>and<[chocolate] :: list>@delInput@addInput :: operators>into[popcorn]in a[bowl v] :: pen
mix<<[butter] :: list>,<[salt] :: list>,<[caramel] :: list>,<[chocolate] :: list>and<[popcorn] :: list>@delInput@addInput :: operators> together :: pen
go to [the living room v] :: motion
turn on[TV v] :: motion
watch [TV v] :: motion
repeat until <<[Windows 1.0 v]is <the[last v][version] :: operators>? :: sensing>and<[Windows 2.0 v]is[released v] ? :: sensing> :: operators>{
do[my normal stuff v]and[every once in a while v]go on my[computer v] :: motion
} :: control
What will I do when 2.0 is released? Find out in my next Windows related post... :: sound cap
Last edited by Roseyfurby_Aj (Aug. 6, 2017 20:48:40)
- dogeiscut
-
Scratcher
500+ posts
Official [scratchblocks] testing topic
More New Ideaswhen green flag clicked // [scriptag 1]
script tags idea(used for stop blocks(It Will be Typed Like [scriptag *Insert Number Or Word Here*] In A Comment :: control ) :: pen) :: grey
never{
move (10) steps
next costume
} :: control cap // when this script is active, the blocks inside tell what blocks do not activate for all scripts,
// And Yes, It Is Specific So This Will Not Stop "Move 9 steps"
when green flag clicked
wait (1) secs
move (10) steps // this
next costume // and this will not activate
say [Hello]
stop [script 1 v] :: stack // this will stop the script tag 1 (the first script) Its Not Always The First One Tho
move (10) steps // Now These Will Activate
next costume
activate [script 1 v] :: control // Quiz! what will happen?
move (10) steps
next costume
say [hello]
when green flag clicked
...
Forever{
...
}But Continue The Script :: control
...
<when green flag clicked>
When <::#FAFF00> Clicked :: events hat // like green flag but does not reset project
When (::#FF0000) Clicked :: events hat
(Forever :: operators)
Last edited by dogeiscut (Aug. 3, 2017 20:27:35)
- 78ch3
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
Please don't spam.Some interesting blocks:run (move (10) steps :: motion stack) if <touching color [#ff0000]> :: control // runs the block inside it if Boolean condition is trueThis is edited daily!
forever once <touching color [#ff8000]::sensing> {...} :: control c-end // runs forever once the Boolean condition is true
(set ([x position v] of [Example Sprite v]) to (10):: operators)
// sets the value of the reporter inserted to the number or value of another inserted reporter on the right
draw text [hello] :: pen // draws text in the box from the sprite's position
draw picture [illuminati v] :: pen // draws the selected picture using the correct colours. You can also make custom pics
Forever Once Iswhen green flag clicked
wait until <touching color [#af6f3b] ?>
forever
. . .
end
- Charles12310
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
wut??Please don't spam.Some interesting blocks:run (move (10) steps :: motion stack) if <touching color [#ff0000]> :: control // runs the block inside it if Boolean condition is trueThis is edited daily!
forever once <touching color [#ff8000]::sensing> {...} :: control c-end // runs forever once the Boolean condition is true
(set ([x position v] of [Example Sprite v]) to (10):: operators)
// sets the value of the reporter inserted to the number or value of another inserted reporter on the right
draw text [hello] :: pen // draws text in the box from the sprite's position
draw picture [illuminati v] :: pen // draws the selected picture using the correct colours. You can also make custom pics
Forever Once Iswhen green flag clicked
wait until <touching color [#af6f3b] ?>
forever
. . .
end
- Charles12310
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
<@greenFlag clicked? :: events >
<(::#FF0000) clicked? :: events >
<[timer v] > ()? :: sensing >
<user is in [project page v]? :: sensing >
<user is in [see inside v]? :: sensing >
<[ v] has been broadcasted? :: events >
- Charles12310
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
(emoji [:D v] :: operators )
wait until I receive [ v] :: events
if I receive [ v] then {
} :: events
repeat until I receive [ v] {
} :: events
create clone of [myself v] with costume [costume 1 v] :: control
stamp as costume [costume 1 v] :: pen
when clones are [> v] () :: control :: hat
when clones are [= v] () :: control :: hat
when clones are [< v] () :: control :: hat
when clones are [x= v] () :: control :: hat
when clones are [> v] or [< v] () :: control :: hat
play sound [ v] until <> :: sound
play sound [ v] for () secs :: sound
(length of sound [ v] :: sound )
do [make a story mode v] :: operators
- jctag
-
Scratcher
100+ posts
Official [scratchblocks] testing topic
Very nice! For the recieving blocks, I have found a way to “make” them. You can indicate it with a variable too.(emoji [:D v] :: operators )
wait until I receive [ v] :: events
if I receive [ v] then {
} :: events
repeat until I receive [ v] {
} :: events
create clone of [myself v] with costume [costume 1 v] :: control
stamp as costume [costume 1 v] :: pen
when clones are [> v] () :: control :: hat
when clones are [= v] () :: control :: hat
when clones are [< v] () :: control :: hat
when clones are [x= v] () :: control :: hat
when clones are [> v] or [< v] () :: control :: hat
play sound [ v] until <> :: sound
play sound [ v] for () secs :: sound
(length of sound [ v] :: sound )
do [make a story mode v] :: operators
- antarticapenguins
-
Scratcher
6 posts
Official [scratchblocks] testing topic
HELLO SCRATCH!
when green flag clicked
change [color v] effect by (25)
- 78ch3
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
HELLO SCRATCH!Please don't spam.when green flag clickedchange [color v] effect by (25)
- 78ch3
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
Actually, the first block conserves space. If you clicked the insert, it would allow you to put multiple blocks in while only seeing one.Some interesting blocks:For the first one:run (move (10) steps :: motion stack) if <touching color [#ff0000]> :: control // runs the block inside it if Boolean condition is trueThis is edited daily!
forever once <touching color [#ff8000]::sensing> {...} :: control c-end // runs forever once the Boolean condition is true
(set ([x position v] of [Example Sprite v]) to (10):: operators)
// sets the value of the reporter inserted to the number or value of another inserted reporter on the right
draw text [hello] :: pen // draws text in the box from the sprite's position
draw picture [illuminati v] :: pen // draws the selected picture using the correct colours. You can also make custom picsif <touching color [#ff0000]> :: control
move (10) steps
end
Other than that, please close your BBcode tags.
Last edited by 78ch3 (Aug. 3, 2017 20:51:46)
- Poketale_0223
-
Scratcher
65 posts
Official [scratchblocks] testing topic
say
Last edited by Poketale_0223 (Aug. 3, 2017 21:00:01)
- Poketale_0223
-
Scratcher
65 posts
Official [scratchblocks] testing topic
repeat until received (Scratch is a lie)
Dance
end
Last edited by Poketale_0223 (Aug. 3, 2017 21:06:53)
- 78ch3
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
Please don't spam. It is not nice to spam one somebody's topic. If you want to spam, you will receive an alert of even a ban.repeat until received (Scratch is a lie)
Dance
end
I'd love it if you didn't spam, because that is what you have been doing to my topics lately.
- Millie_S
-
Scratcher
79 posts
Official [scratchblocks] testing topic
infinity::operators reporter
[]::operators reporter
<>xor<>::operators boolean
using full screen?::sensing boolean
time since [message1 v] received::events reporter
New Scratcher?::sensing boolean
@delInput @addInput
//@delInput @addInput
user agent::sensing reporter
[language v] of [hello]::operators reporter
(example block::stack)::ring operators
[population v] of [china v]::sensing reporter
definitions of [hello]::sensing reporter
[location v] of [US v] phone [123-456-7890] according to [service goes here v]::sensing reporter
//Don't add this block!
once upon a time, ([John] was [shopping])
- Charles12310
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
But it wouldn't really be necessary. Besides, if this was a suggestion, I doubt Scratch Team would add a hacked blocks for inserting blocks into inputs.Actually, the first block conserves space. If you clicked the insert, it would allow you to put multiple blocks in while only seeing one.Some interesting blocks:For the first one:run (move (10) steps :: motion stack) if <touching color [#ff0000]> :: control // runs the block inside it if Boolean condition is trueThis is edited daily!
forever once <touching color [#ff8000]::sensing> {...} :: control c-end // runs forever once the Boolean condition is true
(set ([x position v] of [Example Sprite v]) to (10):: operators)
// sets the value of the reporter inserted to the number or value of another inserted reporter on the right
draw text [hello] :: pen // draws text in the box from the sprite's position
draw picture [illuminati v] :: pen // draws the selected picture using the correct colours. You can also make custom picsif <touching color [#ff0000]> :: control
move (10) steps
end
Other than that, please close your BBcode tags.
- Charles12310
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic
<user is [Scratcher v]? :: sensing >
<user is [New Scratcher v]? :: sensing >
<user is in See Inside? :: sensing >
<user is using fullscreen? :: sensing >
<user [] has viewed this project? :: sensing >
<user [] has [loved v] this project? :: sensing >
<user [] has [favorited v] this project? :: sensing >
shout [abc v] :: sound
while shout [abc v] {
} :: sound
(root () of () :: operators )
(()^() :: operators )
(()^ 2 :: operators )
(()^ 3 :: operators )
(day of month :: sensing : )
Last edited by Charles12310 (Aug. 5, 2017 03:59:05)
- dogeiscut
-
Scratcher
500+ posts
Official [scratchblocks] testing topic
PLEASE SHUT UPHELLO SCRATCH!Please don't spam.when green flag clickedchange [color v] effect by (25)








