Paddle2See

Use this topic to test out the [scratchblocks] tag on the forums!

when green flag clicked
say [Test out Scratchblocks!!!]

You can also use the preview button (green check button) to test out Scratchblocks as you create your post.



Please do not repeatedly spam this thread or try to make ongoing stories, though. Once you are familiar with the plugin, please stop posting here. Also, please don't make massive scripts that kill the browser - be considerate of your fellow Scratchers

If you want to convert a script in a project, please use blob8108's converter.

Also, check out blob8108's Scratchblocks test page.

For more information on the Scratchblocks formatting syntax, see the topic in the Wiki

or, this nice tutorial topic by @theonlygusti


Credit to @jvvg for the original topic on these forums.
Credit to @78ch3 (with help from others) for hosting a version of the topic here

RetroTV

Oh hey, first

when green flag clicked
broadcast [Broadcast v]

when I receive [broadcast v]
broadcast [broadcast v]

DONT USE THIS SCRIPT! It is very infinite

RetroTV

When {Scratch}Is Typed into your search bar on google :: hat :: events
forever
Imagine :: pen
Program :: sound
Share :: list

Roseyfurby_Aj

[Hello!] :: obsolete hat
I'm back! :: list
Looks like the[last v][forum]closed.(insert[emoji sad v] :: events) :: events
It's[OK]though. :: variables
I[understand v]why. :: control
[But,] :: operators stack
This[forum][came v] along! :: sensing
[#000000][#ffffff][#ffffff][#ffffff][#000000] :: #ffffff stack
[#ffffff][#000000][#ffffff][#000000][#ffffff] :: #ffffff stack
[#ffffff][#ffffff][#000000][#ffffff][#ffffff][#000000][#000000][#000000][#000000][#ffffff][#000000][#ffffff][#ffffff][#ffffff][#000000] :: #ffffff stack
[#ffffff][#ffffff][#000000][#ffffff][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000] :: #ffffff stack
[#ffffff][#ffffff][#000000][#ffffff][#ffffff][#000000][#000000][#000000][#ffffff][#000000][#ffffff][#ffffff][#000000][#ffffff] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#000000] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#000000][#000000] :: #ffffff stack
Hopefully[nobody][spams v],[makes ongoing stories v]or[says something bad v], :: motion
or[this v][forum]might[be closed]. :: custom-arg
Anyways, :: looks
Bye! :: sound cap

Charles12310

start [the game v] :: custom

asivi

HI::#ffffff

ProjectScratching

say [nothing]
set [something] to [nothing]

ProjectScratching

set <something> to <something>
How do i make custom color ones

jctag

ProjectScratching wrote:

set <something> to <something>
How do i make custom color ones
you make the block then at the end put ::#
and after that put 6 numbers or letters(i think letters stop at f) of the color code you want.

ProjectScratching

thanks
forever::#ff0000
forever::#ff9900
forever::#fff600
forever::#00ff00
forever::#0000ff
say [Hai]::#ff00e9
end
end
end
end
end
when green flag clicked
forever
if <scratch clicked?::#00b2ff>::#f7ad01
forever
imagine::#000cff
program::#ff09cc
share::#cc8822
hack your blocks::#f41f11
end
else
say [Please go to scratch if you feel like it]
end
end
say [hai] {::#ff0000 {::#f7ad01 {::#ffff00 {::#048e00 {::#00a5ff {say [Hi]::#e008d9} } } } } }


say [(<something>)]
stop [This Madness v]
when flag clicked
say [But I don't want to.] for (2) secs
say [FINE] for (0.5) secs
Bye!::#321051 cap

define when (meow) mreowed then <next line pls>::#00ccff stack
when (meow) mreowed then <hi>::#00ccff
if <mouse down?> then
say [pls stop pressing on your mouse] for (odd::hat #ff0000) secs

RetroTV

ProjectScratching wrote:

forever :: #ff0000 ::cstart
forever :: #ff9900 ::cstart
forever :: #fff600 ::cstart
forever :: #00ff00 ::cstart
forever :: #0000ff ::cstart
say [hai] :: #ff00e9
end
end
end
end
end
Fixed it

TheGamer8608

Q:

ProjectScratching wrote:

How do I make a block like stop but it doesnt say stop it can say like Bye with no thing on the bottom

;
A:
Use “cap” without quotes at the end of the block. Tip:You can also use “hat”, “stack”, “ring”, without quotes. Tip: You can use () or <> for reporter or Boolean, respectively.Tip: You can use another block's type to make a block that color.
Bye::cap
(hello)<wha?>
Keep Scratching!::variables
Bye::cap
(hello)<wha?>
Keep Scratching!::variables
For more help, go here.

;

Roseyfurby_Aj

[#ffffff][#ffffff][#000000][#000000][#000000][#ffffff][#ffffff][#ffffff][#000000][#000000][#000000] :: #ffffff stack
[#ffffff][#000000][#ff0000][#ff0000][#ff0000][#000000][#ffffff][#000000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#000000][#ff0000][#ff0000][#ffffff][#ff0000][#ff0000][#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#000000][#ff0000][#ffffff][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#000000][#ff0000][#ffffff][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#ffffff][#000000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#000000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#000000] :: #ffffff stack

Charles12310

Roseyfurby_Aj wrote:

[#ffffff][#ffffff][#000000][#000000][#000000][#ffffff][#ffffff][#ffffff][#000000][#000000][#000000] :: #ffffff stack
[#ffffff][#000000][#ff0000][#ff0000][#ff0000][#000000][#ffffff][#000000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#000000][#ff0000][#ff0000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#ffffff][#000000][#ff0000][#ff0000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#000000][#ff0000][#000000] :: #ffffff stack
[#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#ffffff][#000000] :: #ffffff stack
…just…plain…wow…

tkinter

when green flag clicked 
create clone of [myself v]
when I start as a clone
forever
move (10) steps
turn cw (15) degrees
if on edge, bounce
create clone of [myself v]
end

actually you probably shouldn't do that

RetroTV

tkinter wrote:

when green flag clicked 
create clone of [myself v]
when I start as a clone
forever
move (10) steps
turn cw (15) degrees
if on edge, bounce
create clone of [myself v]
end

actually you probably shouldn't do that
*does the code*
Welp, I broke my computer…
when [windows v] crashes :: hat :: events
replace item (Windows v) of [owned computers v] with [A Mac]
broadcast [Power-On Macintosh v] and wait

when I receive [Power-On Macintosh v]
play sound [Boot up sound-fx v]
Computer start up :: more blocks




define computer start up
next costume
switch backdrop to [Home Screen 1 v]
show all applications :: looks
turn on system 32 {
Broadcast [system-boot v]
Download (app.data) and wait :: #b60372
... :: Grey } :: control

when I receive [system-boot v]
Set (app.data) to ((3.1415926535897932384626433832795028841971693993751) + (☁️save data))

LionHeart70

when I receive [go to Help With Scripts forum v]
go to [This topic v]
ask [Wait, what happened to the old one?] and wait
think [Oh. I think it was closed because of spam..]
say [Well..]
say [This would probably be the only reason I ever communicated with blocks.]

redstonelasher2010

jctag wrote:

ProjectScratching wrote:

set <something> to <something>
How do i make custom color ones
you make the block then at the end put ::#
and after that put 6 numbers or letters(i think letters stop at f) of the color code you want.
Oh.

redstonelasher2010

New Control block:
end
end

VideoGamerCanInvent

HI::#ffff00