Discuss Scratch

scratcherjack9000
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

Paddle2See wrote:

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

Credit to @jvvg for the original topic on these 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 kumquats






ᕕ◉ᴥ◉ᕗ::#ff0000
ᕕ◉ᴥ◉ᕗ::#ff8000
ᕕ◉ᴥ◉ᕗ::#ffff00
ᕕ◉ᴥ◉ᕗ::#00ff00
ᕕ◉ᴥ◉ᕗ::#0000ff
ᕕ◉ᴥ◉ᕗ::#bb00ff
ᕕ◉ᴥ◉ᕗ::#000000
ᕕ◉ᴥ◉ᕗ::#808080
ᕕ◉ᴥ◉ᕗ::#804000
ᕕ◉ᴥ◉ᕗ::#ff00cc
YES the kung fu cats also protect my signature from kumquats
[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

scratcherjack9000 wrote:

gusfen wrote:

scratcherjack9000 wrote:

A VARIBLE ::ff8000

sorrry
set [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

aa13873 wrote:

highscore system!!!
forever

if <(☁ highscore) < (score)> then
set (☁ highscore) to (score)

I hope I entered this right
Yeah! You did!
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

scratcherjack9000 wrote:

gusfen wrote:

scratcherjack9000 wrote:

red ::ff0000

WHY R U DOIN DIS
UM, I don't know.
Saiid
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

gusfen wrote:

Random C Block{
WOW!{
I made a C block!::operators
}::sensing
}::control
Wow :: 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

gusfen wrote:

aa13873 wrote:

highscore system!!!
forever

if <(☁ highscore) < (score)> then
set (☁ highscore) to (score)

I hope I entered this right
Yeah! You did!
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

TheRedgineer wrote:

gusfen wrote:

aa13873 wrote:

highscore system!!!
forever

if <(☁ highscore) < (score)> then
set (☁ highscore) to (score)

I hope I entered this right
Yeah! You did!
forever

if <(☁ highscore) > (score)> then
set [☁ highscore v] to (score)
Now it's fixed. You had it for when the score was less than the highscore, it would set the highscore to the lesser score.
no, you got it backwards. your code says
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

Saiid wrote:

TheRedgineer wrote:

gusfen wrote:

aa13873 wrote:

highscore system!!!
forever

if <(☁ highscore) < (score)> then
set (☁ highscore) to (score)

I hope I entered this right
Yeah! You did!
forever

if <(☁ highscore) > (score)> then
set [☁ highscore v] to (score)
Now it's fixed. You had it for when the score was less than the highscore, it would set the highscore to the lesser score.
no, you got it backwards. your code says
if the high score is greater than your score, set the high score to equal your score(the lesser score)

Saiid
Oh yeah :I. I got mixed up for a second there. I'm sorry
Pretend I didn't do that Would you?

Last edited by TheRedgineer (Nov. 16, 2016 13:58:28)

smykoleg
Scratcher
81 posts

[scratchblocks] OFFICIAL testing topic

custom C Block <> {} ::control
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

TheRedgineer wrote:

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)

smykoleg
Scratcher
81 posts

[scratchblocks] OFFICIAL testing topic

get posts every
 (second!) 
Saiid
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

smykoleg wrote:

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

_TandemDragon_ wrote:

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}
end
test

Saiid

Last edited by Saiid (Nov. 16, 2016 16:29:43)

Powered by DjangoBB