Discuss Scratch

Paddle2See
Scratch Team
1000+ posts

Official [scratchblocks] Testing Topic 6

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 apple502j's Scratch 3.0 converter or blob8108's Scratch 2.0 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
Link to the last version of the topic

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)



;
Jareddddddd
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

nice!
hat :: hat // hat :: hat
@greenFlag // @greenFlag
<bool> // <bool>
(var) // (var)
( v) // ( v)
green :: #00FF00 // green :: #00FF00 (uses Hex color coding)
cap :: cap // cap :: cap

Last edited by Jareddddddd (Sept. 15, 2022 22:39:52)

Tristan751_2
Scratcher
56 posts

Official [scratchblocks] Testing Topic 6

Cool!
say [Yay!] for (2) secs
set [Happiness] to [1000%]

I post on the forums sometimes.
when green flag clicked
forever
say [Make animations forever!] for (Lifetime) secs
end
Cordongreen
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

never ever stop:: #dcf8ff hat
tell scratchers to {
go to [Cordongreen]'s profile:: #006622
add [Love and fave] to (Cordongreen's projects::operators)
Follow [Cordongreen]::sensing
} ::control

Last edited by Cordongreen (Sept. 8, 2022 03:03:24)


My name is Cordongreen. I'm thinking of making projects and maybe even writing???

when forums entered::#5e02cf hat
always{

if <[post v]is[supposed to show v]::extension> then
load [post v]::#a2cf02
load [signature v]at x:(-90)y:(-20)::#a2cf02
}::#02cf9f
_-BS-ALT-_
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

set [my variable v] position to x: (0) y: (0) :: variables

set [my variable v] type to [slider v] :: variables

when green flag clicked
forever
if <[_-BS-ALT-_ v] exists? :: sensing> then
do{
dumb stuff :: events
}as [_-BS-ALT-_ v] ::sensing
end
end
Cordongreen
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

never ever stop::sensing hat
speak [I love block testing forums]::extension
go post [creative v] blocks in the forums
repeat (100000000000000000000000)
if <other scratcher talks about my blocks::events> then
speak [Thank you!]::extension
end
end
else{
speak [WHY DIDN'T YOU TALK ABOUT MY BLOCKS]::extension
go complain about scratchers who didn't talk about my blocks::looks
}::control
realise [Wait... the colors of my blocks don't make sense]::looks
wait (00000000.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001) yotto seconds::control
post this thing on forums::operators

Last edited by Cordongreen (Sept. 12, 2022 01:49:07)


My name is Cordongreen. I'm thinking of making projects and maybe even writing???

when forums entered::#5e02cf hat
always{

if <[post v]is[supposed to show v]::extension> then
load [post v]::#a2cf02
load [signature v]at x:(-90)y:(-20)::#a2cf02
}::#02cf9f
yavuz61035
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

sixth seventh yay
anyways seven is lucky you know

when the big bang happens :: motion hat
haha yes 7th post :: extension
set [idea v] to (generate idea [physics] :: sensing)
make game (idea) :: sensing
set [num v] to (make complex (3.14) (2.71) :: operators)
break the 4th wall :: looks

when the person building the building is angry :: events hat
extend health bar by ([hyperpow v] of (999999999999) :: operators) :: list
start fight :: motion
use [chaos sword v] :: operators
get (99999999) scratchcoins :: events

when not receiving infared signal [hello] :: hat #3028AD
read the tolors :: #AD25B1
some of the rejected stuff {
ask for [9999999999] dollars and wait :: sensing
give player achievement [u ar kaj >:((] :: #E3A028
extend clones by [69420] :: control
} wow :: #A184BC
get the power of [alchemy v] :: control
turn [planes v] to [diamond v] :: motion
prove [unprovable thing v] :: variables
get the information of atom (pick random from [52 + 1.3i] to [ω + 41, 30^491i] :: #ABCDEF) :: #FEDCBA
turn [scratch cat v] into a [curtain v] :: motion

Last edited by yavuz61035 (Aug. 26, 2022 16:20:51)


i am yavuz61035!

i like birds (especially budgies) | my studio is here! | a project i was working on, mine game! | pronouns: he/him/they/blabla ok just use anything please stop reading this part | my 100th post! | be moist wet | musicROCKS013 predicts the future

fun fact: my pfp has pride month forever
a link

little social experiment corner:
increase gen thingy:
gen: 14
gen: 14
gen: 11
legendary34678
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

Oh, this is cool! There's a new scratchblocks testing topic! :0

when green flag clicked
forever
wait (10) secs
end

Can you beat my latest game?

Have you heard of the X Y Problem?
Please check out me projects please I'm desperate –> Idle Balls, Candy Grab!, Don't Move Your Mouse!, Rude Robot, Tic Tac Toe, Memory Game, Corn Maze, and Idle Balls PEN EDITION!

Oh, hey! I have 100+ posts now!
Oh, hey! I have 500+ posts now! (8/26/22)
Oh, hey! I have 1000+ posts now! (9/23/22)
(Thanks to @AntonL1kesPotato for helping me figure out how to add a signature!)
dj_greener
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

say [9th! (in first 10!)]

(I did not look on the forums for 2 months and found a recently scratchblocks Testing Topic so i think i am lucky now )

Last edited by dj_greener (Aug. 26, 2022 17:07:11)

Beta_Cnc
Scratcher
19 posts

Official [scratchblocks] Testing Topic 6

Testing some code I found on the Wiki
point in direction (([atan v] of ((([x position v] of (Sprite1 v)) - (x position)) / (([y position v] of (Sprite1 v)) - (y position)))) + ((180) * <([y position v] of (Sprite1 v)) < (y position)>)
issac_the_scratcher
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

when I receive [seeing testing topic v]
post [Yay! I'm on the first page!] :: looks
stop [this post v]

No kumquats have eaten my siggy yet, but just to be safe,

(jOj) // This is Swiss. He has blades and is the most powerful siggy defender known to mankind!

cloud servers have been down for 5 months

The 3DS and Wii U eShops closed on 3/27/23. Help revive those memories with the 3DS eShop Simulator!

(DEAD DO NOT CONTRIBUTE) Our goal is to not be the best, but to be the most unique. TiltedOS.
SupaYoshiBro
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 6

Wow testing topic 6 yay 12th post

Cheating in clickers be like :: hat :: operators
forever
set auto click to [999999999] points per (nanosecond v) :: variables
end
Glitches overexaggerated
when I receive [Joined scratch as a new scratcher v]
set [Rank v] to [Scratch Team]
say [wait how]

Last edited by SupaYoshiBro (Aug. 26, 2022 17:53:53)


Highlight the first letter of my signature
then shift+down arrow
when green flag clicked
forever
eat apple
end

// there was a kumpquat here but he was so hungry he ate himselt XD
My 60th post
My 100th post
say [#A9EF01] :: looks

Check out my profile here!
_-BS-ALT-_
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

define repeat durning (sec) secs.{ [script]
repeat ((25) * (sec))
script :: custom
end

repeat durning (1) secs.{
} :: custom

HOW!?

when green flag clicked
forever
if <[_-BS-ALT-_ v] exists? :: sensing> then
do{
dumb stuff :: events
}as [_-BS-ALT-_ v] ::sensing
end
end
_-BS-ALT-_
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

New Category Leak!

Bonus Category (Red):

<sound [Bark After Meow v] contains sound [Meow v]?>

previous costume

(mix sounds [Meow v] [Bark v])

scroll by changing [x : v] by (10)

(pick random (1) to (10) without (5))

when [h v] and [i v] pressed at the same time :: hat

report [hello world] :: cap

activate @greenFlag :: cap

when [space v] key holded for (1) secs. :: hat

when i am holded for (1) secs. :: hat

when green flag clicked
forever
if <[_-BS-ALT-_ v] exists? :: sensing> then
do{
dumb stuff :: events
}as [_-BS-ALT-_ v] ::sensing
end
end
cheriext
Scratcher
22 posts

Official [scratchblocks] Testing Topic 6

when the stop sign is pressed [2] times

when the stop sign and the W key is pressed

~This is my signature~
Hi, I'm cheriext.
These are my favourite things:
1. Pink, purple and blue
2. Pusheen the Cat
3. Roblox
Dyno_Bot
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

Lez goo! i'm number #16!

Welcome to my signature!
when gf clicked
say [hello]
I have over 50 followers!!!


Dyno_Bot
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

when green flag clicked
ask [Can you give me scratchblocks to recreate?] and wait
when I receive [A block v]
Make the block :: custom cap
define Make the block
set <mouse down?> = (true :: sound) :: operators

Welcome to my signature!
when gf clicked
say [hello]
I have over 50 followers!!!


Pipe1637
Scratcher
79 posts

Official [scratchblocks] Testing Topic 6

when I receive <<love> or <star>> ::#FFCA00
say [thank you!]

Last edited by Pipe1637 (Aug. 26, 2022 22:41:13)



Pipe1637
Scratcher
79 posts

Official [scratchblocks] Testing Topic 6

How to C block?


Cordongreen
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 6

When [ v] = (10)::events hat

When [ v] < (10)::events hat

in random order {} ::control // Shuffles the order of blocks in it

((ExampleVar::variables) as plain text::operators) // Says the name of the block as plain text

<<> for (5) seconds::operators> // Checks if a boolean is running for a specific amount of secs


<using [computer v]?::#958b86>

when love clicked:: hat

when fav clicked:: #fff503 hat

follow [Cordongreen v]:: #0f8bc0 // Makes the user follow a scratcher

<following [Cordongreen v]:: #0f8bc0> // Checks if the user is following a scratcher

go to URL [scratch.org]::sensing // Did you know that you can type "scratch.org" instead of "scratch.mit.edu" to go to the scratch website?

close Scratch:: #faaf56 cap // for trolling

My name is Cordongreen. I'm thinking of making projects and maybe even writing???

when forums entered::#5e02cf hat
always{

if <[post v]is[supposed to show v]::extension> then
load [post v]::#a2cf02
load [signature v]at x:(-90)y:(-20)::#a2cf02
}::#02cf9f

Powered by DjangoBB