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
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%]
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)

_-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
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)

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)

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
dj_greener
Scratcher
500+ 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]
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)

_-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!?
_-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
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
Dyno_Bot
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 6

Lez goo! i'm number #16!
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
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

Powered by DjangoBB