Discuss Scratch

Paddle2See
Scratch Team
1000+ posts

[scratchblocks] OFFICIAL testing topic

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.

Last edited by Paddle2See (Feb. 18, 2017 08:44:19)

58511serial
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

when @greenFlag clicked::hat events
If you <look at [this v]::sensing>{follow [58511serial v]::motion}::control
say [please follow me!](1)[]::custom

define say (string)(time)(txt)
if <(time) = (length of (string))> then
say (string) for (0.3) secs
else
say (join (txt)(letter (time) of (string)))
wait (0) secs
say (string)((time) + (1))(join (txt)(letter (time) of (string))) :: custom
end

Last edited by 58511serial (Jan. 3, 2017 05:41:46)

finnb4513
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

define laa (left) (right) (up) (down)
if <<(mouse x) > (left)> and <(mouse x) < (right)>> then
if <<(mouse y) < (up)> and <(mouse y) > (down)>> then
set [yea v] to [true]
stop [this script v]
end
end
set [yea v] to [false]
BKFighter
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

define reserve post (#)
set [reserved post v] to (#)



when I receive [notice of new scratchblocks post v]
reserve post ((length of [posts v] :: list) + (1))
say (join [BKFighter reserved post] (reserve post)
BKFighter reserved post 5

Last edited by BKFighter (Sept. 29, 2016 14:18:11)

ultimateboy144
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

when green flag clicked
say [Thanks for this!] for (forever) secs
We needed this :: custom
define We needed this :: custom
say [The old one was getting a bit spammy :/ ] for (2) secs
apreciate [Paddle2See v] for the topic :: #51DB76
We needed this

Last edited by ultimateboy144 (Sept. 29, 2016 14:07:29)

christianxyz
New Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

ultimateboy144 wrote:

when green flag clicked
say [Thanks for this!] for (forever) secs
We needed this :: custom
define We needed this :: custom
say [The old one was getting a bit spammy :/ ] for (2) secs
apreciate [Paddle2See v] for the topic :: #51DB76
We needed this

this is not jvvg's topic.

______________________

terminate program and turn Ozobot off ::extension cap
ultimateboy144
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

christianxyz wrote:

ultimateboy144 wrote:

when green flag clicked
say [Thanks for this!] for (forever) secs
We needed this :: custom
define We needed this :: custom
say [The old one was getting a bit spammy :/ ] for (2) secs
apreciate [Paddle2See v] for the topic :: #51DB76
We needed this

this is not jvvg's topic.

______________________

terminate program and turn Ozobot off ::extension cap
I know..

Note wrote:

As I say, nobody relates to old things
christianxyz
New Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

ultimateboy144 wrote:

christianxyz wrote:

ultimateboy144 wrote:

when green flag clicked
say [Thanks for this!] for (forever) secs
We needed this :: custom
define We needed this :: custom
say [The old one was getting a bit spammy :/ ] for (2) secs
apreciate [Paddle2See v] for the topic :: #51DB76
We needed this

this is not jvvg's topic.

______________________

terminate program and turn Ozobot off ::extension cap
I know..

Note wrote:

As I say, nobody relates to old things


Strange, it's for me.

Ozobot program ::extension hat
terminate program and switch to idle ::extension cap

___________________

terminate program and turn Ozobot off ::extension cap
christianxyz
New Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

you want to use my new topic.

go to @https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/219713/

____________________

terminate program and turn Ozobot off ::extension cap
agmmes
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

when pen color is [#000000] :: pen hat P.S. You hacker
christianxyz
New Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

agmmes wrote:

when pen color is [#000000] :: pen hat P.S. You hacker

Strange, it's for me,

Ozobot program ::extension hat
terminate program and switch to idle ::extension cap

_______________

terminate program and turn Ozobot off ::extension cap
agmmes
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

Scratch users scripts:
When new user appeared :: grey hat YOU STILL HACKER

<Still::grey> //Says if two same blocks runned on one and next line
christianxyz
New Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

agmmes wrote:

Scratch users scripts:
When new user appeared :: grey hat YOU STILL HACKER

<Still::grey> //Says if two same blocks runned on one and next line

Ok but this is not jvvg's topic.

Strange, it's for me,

Ozobot program ::extension hat
terminate program and switch to idle ::extension cap

____________________

terminate program and turn Ozobot off ::extension cap

Last edited by christianxyz (Sept. 29, 2016 19:38:43)

agmmes
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

When new user appeared :: grey hat
if <still::grey> then{
Update [same blocks v] filter to next version if possible :: grey
}else if <[attempt v] ignored::grey>{
Restore previous session with new filters :: grey
Report <[2] = [3]> as [true] :: grey
} ::grey
Also:
Better-Exact gamma for color [#000001] :: pen
definе custom boolean <Still::custom> :: custom hat
Define {
if <block runned :: grey> then



else

end
} :: custom
SOWELL <gunner::motion stack> <destroyer::custom hat> <who's next here?::obsolete> :: looks
christianxyz
New Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

agmmes wrote:

When new user appeared :: grey hat
if <still::grey> then{
Update [same blocks v] filter to next version if possible :: grey
}else if <[attempt v] ignored::grey>{
Restore previous session with new filters :: grey
Report <[2] = [3]> as [true] :: grey
} ::grey
Also:
Better-Exact gamma for color [#000001] :: pen
definе custom boolean <Still::custom> :: custom hat
Define {
if <block runned :: grey> then



else

end
} :: custom
SOWELL <gunner::motion stack> <destroyer::custom hat> <who's next here?::obsolete> :: looks

I ran out of time.

________________

terminate program and turn Ozobot off ::extension cap
finnb4513
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

Blocks that may be Helpful 4 u
ask [Search Something.] and wait at y (0)::sensing

<[apples] contains [oranges]::operators>

set draggable to [true v]::motion

set turbo mode to [true v]::sensing

//NUU WY WUS DIS REMOOVD

all at once{
say [I need this for a project I'm making.]}::control
LogoFun13
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

NOTE: This is the 2nd set.
Anyway, TESTING:
TESTING

WORKS!
Sorry for all caps.
monstermash3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

Here's some special block colors:
red::#ff0000
orange::#ff8000
yellow::#ffff00
green::#00ff00
blue::#0000ff
purple::#bb00ff
black::#000000
white::#ffffff
gray::#808080
brown::#804000
pink::#ff00cc
[scratchblocks]
red::#ff0000
orange::#ff8000
yellow::#ffff00
green::#00ff00
blue::#0000ff
purple::#bb00ff
black::#000000
white::#ffffff
gray::#808080
brown::#804000
pink::#ff00cc
[/scratchblocks]
Gamerboy1023
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

monstermash3 wrote:

Here's some special block colors:
red::#ff0000
orange::#ff8000
yellow::#ffff00
green::#00ff00
blue::#0000ff
purple::#bb00ff
black::#000000
white::#ffffff
gray::#808080
brown::#804000
pink::#ff00cc
[scratchblocks]
red::#ff0000
orange::#ff8000
yellow::#ffff00
green::#00ff00
blue::#0000ff
purple::#bb00ff
black::#000000
white::#ffffff
gray::#808080
brown::#804000
pink::#ff00cc
[/scratchblocks]
Nothing
58511serial
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

monstermash3 wrote:

Here's some special block colors:
red::#ff0000
orange::#ff8000
yellow::#ffff00
green::#00ff00
blue::#0000ff
purple::#bb00ff
black::#000000
white::#ffffff
gray::#808080
brown::#804000
pink::#ff00cc
[scratchblocks]
red::#ff0000
orange::#ff8000
yellow::#ffff00
green::#00ff00
blue::#0000ff
purple::#bb00ff
black::#000000
white::#ffffff
gray::#808080
brown::#804000
pink::#ff00cc
[/scratchblocks]
i knew;
(::#F00)(::#FA0)(::#FF0)(::#AF0)(::#0F0)(::#0FA)(::#0FF)(::#0AF)(::#00F)(::#A0F)(::#F0F)(::#F0A)::#FFF
(::#FA0)(::#FF0)(::#AF0)(::#0F0)(::#0FA)(::#0FF)(::#0AF)(::#00F)(::#A0F)(::#F0F)(::#F0A)(::#F00)::#FFF
(::#FF0)(::#AF0)(::#0F0)(::#0FA)(::#0FF)(::#0AF)(::#00F)(::#A0F)(::#F0F)(::#F0A)(::#F00)(::#FA0)::#FFF
(::#AF0)(::#0F0)(::#0FA)(::#0FF)(::#0AF)(::#00F)(::#A0F)(::#F0F)(::#F0A)(::#F00)(::#FA0)(::#FF0)::#FFF
(::#0F0)(::#0FA)(::#0FF)(::#0AF)(::#00F)(::#A0F)(::#F0F)(::#F0A)(::#F00)(::#FA0)(::#FF0)(::#AF0)::#FFF
(::#0FA)(::#0FF)(::#0AF)(::#00F)(::#A0F)(::#F0F)(::#F0A)(::#F00)(::#FA0)(::#FF0)(::#AF0)(::#0F0)::#FFF
(::#0FF)(::#0AF)(::#00F)(::#A0F)(::#F0F)(::#F0A)(::#F00)(::#FA0)(::#FF0)(::#AF0)(::#0F0)(::#0FA)::#FFF
(::#0AF)(::#00F)(::#A0F)(::#F0F)(::#F0A)(::#F00)(::#FA0)(::#FF0)(::#AF0)(::#0F0)(::#0FA)(::#0FF)::#FFF
(::#00F)(::#A0F)(::#F0F)(::#F0A)(::#F00)(::#FA0)(::#FF0)(::#AF0)(::#0F0)(::#0FA)(::#0FF)(::#0AF)::#FFF
(::#A0F)(::#F0F)(::#F0A)(::#F00)(::#FA0)(::#FF0)(::#AF0)(::#0F0)(::#0FA)(::#0FF)(::#0AF)(::#00F)::#FFF
(::#F0F)(::#F0A)(::#F00)(::#FA0)(::#FF0)(::#AF0)(::#0F0)(::#0FA)(::#0FF)(::#0AF)(::#00F)(::#A0F)::#FFF
(::#F0A)(::#F00)(::#FA0)(::#FF0)(::#AF0)(::#0F0)(::#0FA)(::#0FF)(::#0AF)(::#00F)(::#A0F)(::#F0F)::#FFF loop cap
leaf::#6A0//#6A0
wood::#A60//#A60
real purple::#A0A//#A0A

Last edited by 58511serial (Sept. 30, 2016 07:17:09)

Powered by DjangoBB