Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » [scratchblocks] OFFICIAL testing topic
- scratcherjack9000
-
Scratcher
1000+ posts
[scratchblocks] OFFICIAL testing topic
Use this topic to test out the [scratchblocks] tag on the forums!ok kewl. DABIN EMOJEH -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/! it protects my signature from kumquatswhen 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
Credit to @jvvg for the original topic on these forums.

ᕕ◉ᴥ◉ᕗ::#ff0000YES the kung fu cats also protect my signature from kumquats
ᕕ◉ᴥ◉ᕗ::#ff8000
ᕕ◉ᴥ◉ᕗ::#ffff00
ᕕ◉ᴥ◉ᕗ::#00ff00
ᕕ◉ᴥ◉ᕗ::#0000ff
ᕕ◉ᴥ◉ᕗ::#bb00ff
ᕕ◉ᴥ◉ᕗ::#000000
ᕕ◉ᴥ◉ᕗ::#808080
ᕕ◉ᴥ◉ᕗ::#804000
ᕕ◉ᴥ◉ᕗ::#ff00cc
[quote=Paddle2See]Use this topic to test out the [[]scratchblocks] tag on the forums!
[scratchblocks]
when green flag clicked
say [Test out Scratchblocks!!!]
[/scratchblocks]
You can also use the preview button (green check button) to test out Scratchblocks as you create your post.
[img]http://i.cubeupload.com/Ndsw2W.png[/img]
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 [url=http://scratchblocks.github.io/generator/]blob8108's converter[/url].
Also, check out [url=http://scratchblocks.github.io/]blob8108's Scratchblocks test page[/url].
For more information on the Scratchblocks formatting syntax, see the[url=http://wiki.scratch.mit.edu/wiki/Block_Plugin/Syntax] topic in the Wiki[/url]
[small]Credit to @jvvg for [url=https://scratch.mit.edu/discuss/post/126877]the original topic[/url] on these forums.[/small]
[/quote]
ok kewl. DABIN EMOJEH -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/ |(o0o)| -(o0o-) |(o0o)| /( o0o)/! it protects my signature from kumquats :)
[scratchblocks]
ᕕ◉ᴥ◉ᕗ::#ff0000
ᕕ◉ᴥ◉ᕗ::#ff8000
ᕕ◉ᴥ◉ᕗ::#ffff00
ᕕ◉ᴥ◉ᕗ::#00ff00
ᕕ◉ᴥ◉ᕗ::#0000ff
ᕕ◉ᴥ◉ᕗ::#bb00ff
ᕕ◉ᴥ◉ᕗ::#000000
ᕕ◉ᴥ◉ᕗ::#808080
ᕕ◉ᴥ◉ᕗ::#804000
ᕕ◉ᴥ◉ᕗ::#ff00cc
[/scratchblocks]
YES the kung fu cats also protect my signature from kumquats
- TheRedgineer
-
Scratcher
32 posts
[scratchblocks] OFFICIAL testing topic
A VARIBLE ::ff8000
sorrryset [x v] to (12) then change [x v] by (3)::#ff8000
set [x v] to ((12)+(3))::variables
- Greenduck54
-
Scratcher
500+ posts
[scratchblocks] OFFICIAL testing topic
define Invincibility Frame (secs) secs
set [Invincible? v] to [1]
repeat ((secs) * (5))
show
wait (0) secs
hide
wait (0) secs
end
show
set [Invincible? v] to [0]
wait (1) secs
- Greenduck54
-
Scratcher
500+ posts
[scratchblocks] OFFICIAL testing topic
define Say (String) for (secs) secs
say (String)
wait (secs) secs
say [ ]
when green flag clicked
say [Hi] for (2) secs
Say [Hi, Hi!] for (2) secs
//Outputs Hi, then Hi,Hi!
- gusfen
-
Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
highscore system!!!Yeah! You did!forever
if <(☁ highscore) < (score)> then
set (☁ highscore) to (score)
I hope I entered this right
- gusfen
-
Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
Random C Block{
...
}::catagory/#xxxxxx- gusfen
-
Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
Random C Block{
WOW!{
I made a C block!
}
}::catagory/#xxxxxx- gusfen
-
Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
UM, I don't know.red ::ff0000
WHY R U DOIN DIS
- Saiid
-
Scratcher
1000+ posts
[scratchblocks] OFFICIAL testing topic
Random C Block{
WOW!{
I made a C block!::operators
}::sensing
}::controlWow :: events hat
I made them [look real(ish) v]! :: motion
:P :: list cap
Saiid
Last edited by Saiid (Nov. 16, 2016 10:43:04)
- TheRedgineer
-
Scratcher
32 posts
[scratchblocks] OFFICIAL testing topic
highscore system!!!Yeah! You did!forever
if <(☁ highscore) < (score)> then
set (☁ highscore) to (score)
I hope I entered this right
forever
if <(☁ highscore) < (score)> then
set [☁ highscore v] to (score)
Last edited by TheRedgineer (Nov. 16, 2016 13:55:33)
- Saiid
-
Scratcher
1000+ posts
[scratchblocks] OFFICIAL testing topic
no, you got it backwards. your code sayshighscore system!!!Yeah! You did!forever
if <(☁ highscore) < (score)> then
set (☁ highscore) to (score)
I hope I entered this rightforeverNow it's fixed. You had it for when the score was less than the highscore, it would set the highscore to the lesser score.
if <(☁ highscore) > (score)> then
set [☁ highscore v] to (score)
if the high score is greater than your score, set the high score to equal your score(the lesser score)
Saiid
- TheRedgineer
-
Scratcher
32 posts
[scratchblocks] OFFICIAL testing topic
Oh yeah :I. I got mixed up for a second there. I'm sorryno, you got it backwards. your code sayshighscore system!!!Yeah! You did!forever
if <(☁ highscore) < (score)> then
set (☁ highscore) to (score)
I hope I entered this rightforeverNow it's fixed. You had it for when the score was less than the highscore, it would set the highscore to the lesser score.
if <(☁ highscore) > (score)> then
set [☁ highscore v] to (score)if the high score is greater than your score, set the high score to equal your score(the lesser score)
Saiid

Pretend I didn't do that
Would you?Last edited by TheRedgineer (Nov. 16, 2016 13:58:28)
- TheRedgineer
-
Scratcher
32 posts
[scratchblocks] OFFICIAL testing topic
start broadcast [Message1 v] :: events
end broadcast [Message1 v] :: events
<broadcast [Message1 v] active? :: events
if <broadcast [Message1 v] active?::events> then
Bounce (2) (6) :: custom
wait until <not <broadcast [Message1 v] active?::events>>
- Saiid
-
Scratcher
1000+ posts
[scratchblocks] OFFICIAL testing topic
start broadcast [Message1 v] :: events
end broadcast [Message1 v] :: events
<broadcast [Message1 v] active? :: events
if <broadcast [Message1 v] active?::events> then
Bounce (2) (6) :: custom
wait until <not <broadcast [Message1 v] active?::events>>
interrupt broadcast [Message1 v] of user [TheRedgineer v] :: events
Saiid
Last edited by Saiid (Nov. 16, 2016 14:27:15)
- Saiid
-
Scratcher
1000+ posts
[scratchblocks] OFFICIAL testing topic
get posts every(second!)
fire [laser v] at [smykoleg v] :: sensing
Saiid
- _TandemDragon_
-
Scratcher
89 posts
[scratchblocks] OFFICIAL testing topic
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<[] = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> = []> < []>3d art
- _TandemDragon_
-
Scratcher
89 posts
[scratchblocks] OFFICIAL testing topic
forever
<<<<(((pick random ((((((<<<<((((<<<> and <>>(pick random (() * (0)) to (10)) > []> - (0)) - (0)) - (0)) - (0)) = []> > []> = []> < []> - (0)) / (0)) - (0)) - (0)) * (0)) - (0)) to (10)) - (0)) / (0)) = []> = []> < []> < []>
end
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
- Saiid
-
Scratcher
1000+ posts
[scratchblocks] OFFICIAL testing topic
forever{
<<<<(((pick random ((((((<<<<((((<<<> and <>>(pick random (() * (0)) to (10)) > []> - (0)) - (0)) - (0)) - (0)) = []> > []> = []> < []> - (0)) / (0)) - (0)) - (0)) * (0)) - (0)) to (10)) - (0)) / (0)) = []> = []> < []> < []>
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked
when green flag clicked}
endtestSaiid
Last edited by Saiid (Nov. 16, 2016 16:29:43)







