Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » [scratchblocks] OFFICIAL testing topic
- ChatUser2
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
{}This is a boolean in previews
{test}This is a boolean with a block called “test” in previews
{}{}This is a reporter in previews
I'm not sure why this happens because there are no <, >, (, or ) in code.
My cloud draw project (64x64, 12 colors): https://scratch.mit.edu/projects/147125133/
- ultimateboy144
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
Hmm.. strange. it's true. I don't know why this happens.{}This is a boolean in previews{test}This is a boolean with a block called “test” in previews{}{}This is a reporter in previews
I'm not sure why this happens because there are no <, >, (, or ) in code.
{}akward..!
{hello}
{}{}
{lol}{lol}
EDIT: Try the code in the quote and preview it
Last edited by ultimateboy144 (Jan. 24, 2017 10:16:51)
Us, as a community, can{
imagine :: looks
program :: operators
share :: sensing} for all eternity! :: control loop cap
and so can you. :: operators
Fake Detector
- legoadam324
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
this is a c block! {
} :: events
thats what i said
- GreenExplosion08
- Scratcher
31 posts
[scratchblocks] OFFICIAL testing topic
when I receive [Big Bang]
make universe
make stars and galaxies
make planets
make Earth
make gravity
make dinosaurs, plants, and animals
make ice age
make man
repeat until [the end of time]
man makes tools
man becomes president
man sleeps
man fight wars
man lives on
end
into the future!
when I receive [Big Bang]
forever
change time up by one second
end
- GreenExplosion08
- Scratcher
31 posts
[scratchblocks] OFFICIAL testing topic
define everything
ask computer [what is the answer to everything and all life and why it exists?]
say (answer) for (10) secs
run program
- GreenExplosion08
- Scratcher
31 posts
[scratchblocks] OFFICIAL testing topic
what the computer reads it as:
when green flag clicked
when asked question [what is the answer to everything and all life and why it exists?]
set (answer) to ([21]*[2])
if [answer = 42]
say 42 for 10 seconds
- GreenExplosion08
- Scratcher
31 posts
[scratchblocks] OFFICIAL testing topic
you can also make a multiple if else!
if <> then
else
else
else
else
else
end
- dvargasews
- Scratcher
500+ posts
[scratchblocks] OFFICIAL testing topic
if <this is true> then{}else{}if not sure whether <this is true> then{}if not sure whether sure about whether <this is true> then{}if not sure about [i]that[/i] (italicized for emphasis) is true then{}if not sure about [i]that[/i] is true then{}if not sure about [i]THAT[/i] (even more emphasis) is true then{}You get the idea... ::control cap
Last edited by dvargasews (Jan. 25, 2017 23:40:06)
Please read my signature! It might explain some lingo that I used in my post or comment. However, not all of it shows, so you have to highlight the entire bottom of the post, from “Please read my signature!” to where it says report, and copy and paste in into a new sheet or tab or whatever.
I can't decide my signature between:
1. I'm a grammar stickler, and my pet peeve is when people use good as an adverb.
2. I have lots of [creativity]original ideas[/creativity]. [creativity]This[/creativity] is one of those ideas.
3. If I used this symbol: ⸮ in my comment, please look it up before doing anything else.
4. {Minot, North Dakota/Donald Trump parodies} “WE'RE GONNA BUILD A DAM AND MAKE CANADA PAY FOR IT!” “When Canada sends its water, they’re not sending their best drinking water…They’re bringing sleet. They’re bringing floods. The water's toxic.” (It's just a joke that I came up with.)
5. One should make his/her signature text small; that way (s)he can cram more text into the signature.
6. New [scratchblocks] idea each week! (Thanks to Bright-Idea (Read her signature.) for inspiration/the general idea.) Here's the archive:
Note: I stopped this because of signature character limits.
Week of 1-23-2017: Hat-caps tinyurl.com/htauyu2
Week of 1-16-2017: Country-colored scratchblocks tinyurl.com/z8lz6c4
Week of 1-9-2017: Drop-down booleans tinyurl.com/j5d3k6l
Week of 1-2-2017: Block->string inputs and more truth values tinyurl.com/jqu7avs
- dvargasews
- Scratcher
500+ posts
[scratchblocks] OFFICIAL testing topic
Hat caps!
[scratchblocks]
when green flag clicked ::hat cap
[/scratchblocks]
Last edited by dvargasews (Jan. 29, 2017 21:00:53)
Please read my signature! It might explain some lingo that I used in my post or comment. However, not all of it shows, so you have to highlight the entire bottom of the post, from “Please read my signature!” to where it says report, and copy and paste in into a new sheet or tab or whatever.
I can't decide my signature between:
1. I'm a grammar stickler, and my pet peeve is when people use good as an adverb.
2. I have lots of [creativity]original ideas[/creativity]. [creativity]This[/creativity] is one of those ideas.
3. If I used this symbol: ⸮ in my comment, please look it up before doing anything else.
4. {Minot, North Dakota/Donald Trump parodies} “WE'RE GONNA BUILD A DAM AND MAKE CANADA PAY FOR IT!” “When Canada sends its water, they’re not sending their best drinking water…They’re bringing sleet. They’re bringing floods. The water's toxic.” (It's just a joke that I came up with.)
5. One should make his/her signature text small; that way (s)he can cram more text into the signature.
6. New [scratchblocks] idea each week! (Thanks to Bright-Idea (Read her signature.) for inspiration/the general idea.) Here's the archive:
Note: I stopped this because of signature character limits.
Week of 1-23-2017: Hat-caps tinyurl.com/htauyu2
Week of 1-16-2017: Country-colored scratchblocks tinyurl.com/z8lz6c4
Week of 1-9-2017: Drop-down booleans tinyurl.com/j5d3k6l
Week of 1-2-2017: Block->string inputs and more truth values tinyurl.com/jqu7avs
- NatChu1
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
when gf clicked:: hat cap
Last edited by NatChu1 (Jan. 26, 2017 02:03:40)
I HAVE 15 FOLLOWERS
define (reporter) <boolean> (stack::stack) (C cap {}::loop cap) (hat::hat) (cap::custom-arg cap) [[string drop-down box v]::custom-arg] ((reporter pull-down menu v)::custom-arg)
e::events//events
c::control//control
s::sensing//sensing
o::operators//operators
mb/c::custom//more blocks/custom
pb::custom-arg//parameter block
m::motion//motion
l::looks//looks
s::sound//sound
p::pen//pen
v::variables//variables
l::list//list
t::grey//tips
r::#ff0000//red
o::#ff8000//orange
y::#ffff00//yellow
lg::#00ff00//light green
b::#0000ff//blue
lv::#bb00ff//light violet
b::#000000//black
w::#ffffff//white
g::#808080//gray
b::#804000//brown
hp::#ff00cc//hot pink
[scratchblocks]
<<<<<<<<<<<<<<<<<<<<<<<<<<>::undefined>::#ff00cc>::#804000>::#808080>::#ffffff>::#000000>::#bb00ff>::#0000ff>::#00ff00>::#ffff00>::#ff8000>::#ff0000>::grey>::custom-arg>::custom>::operators>::sensing>::control>::events>::list>::variables>::pen>::sound>::looks>::motion>//COOLEST DIAMOND EVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[scratchblocks]
((((((((((((((((((((((((((()::undefined)::#ff00cc)::#804000)::#808080)::#ffffff)::#000000)::#bb00ff)::#0000ff)::#00ff00)::#ffff00)::#ff8000)::#ff0000))::custom-arg)::custom)::operators)::sensing)::control)::events)::grey)::list)::variables)::pen)::sound)::looks)::motion)//COOLEST ELLIPSE EVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[/scratchblocks]
[scratchblocks]
dab//COOL?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!
- NatChu1
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
Hat caps![scratchblocks]
when green flag clicked ::hat cap
[/scratchblocks][/quote]
liar
My browser / operating system: Windows NT 10.0, Chrome 55.0.2883.87, Flash 24.0 (release 0)
I HAVE 15 FOLLOWERS
define (reporter) <boolean> (stack::stack) (C cap {}::loop cap) (hat::hat) (cap::custom-arg cap) [[string drop-down box v]::custom-arg] ((reporter pull-down menu v)::custom-arg)
e::events//events
c::control//control
s::sensing//sensing
o::operators//operators
mb/c::custom//more blocks/custom
pb::custom-arg//parameter block
m::motion//motion
l::looks//looks
s::sound//sound
p::pen//pen
v::variables//variables
l::list//list
t::grey//tips
r::#ff0000//red
o::#ff8000//orange
y::#ffff00//yellow
lg::#00ff00//light green
b::#0000ff//blue
lv::#bb00ff//light violet
b::#000000//black
w::#ffffff//white
g::#808080//gray
b::#804000//brown
hp::#ff00cc//hot pink
[scratchblocks]
<<<<<<<<<<<<<<<<<<<<<<<<<<>::undefined>::#ff00cc>::#804000>::#808080>::#ffffff>::#000000>::#bb00ff>::#0000ff>::#00ff00>::#ffff00>::#ff8000>::#ff0000>::grey>::custom-arg>::custom>::operators>::sensing>::control>::events>::list>::variables>::pen>::sound>::looks>::motion>//COOLEST DIAMOND EVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[scratchblocks]
((((((((((((((((((((((((((()::undefined)::#ff00cc)::#804000)::#808080)::#ffffff)::#000000)::#bb00ff)::#0000ff)::#00ff00)::#ffff00)::#ff8000)::#ff0000))::custom-arg)::custom)::operators)::sensing)::control)::events)::grey)::list)::variables)::pen)::sound)::looks)::motion)//COOLEST ELLIPSE EVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[/scratchblocks]
[scratchblocks]
dab//COOL?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!
- gtar1
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
define add(var) to (list)
add (var) to (list)
block would look like this:
add [var v] to [list v] ::custom
If they say the sky's the limit, then why are there footprints on the moon?
I hope this helps! If you need any further, clarification, just ask!
- NatChu1
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
HACKEDdefine add(var) to (list)
add (var) to (list)
block would look like this:add [var v] to [list v] ::custom
I HAVE 15 FOLLOWERS
define (reporter) <boolean> (stack::stack) (C cap {}::loop cap) (hat::hat) (cap::custom-arg cap) [[string drop-down box v]::custom-arg] ((reporter pull-down menu v)::custom-arg)
e::events//events
c::control//control
s::sensing//sensing
o::operators//operators
mb/c::custom//more blocks/custom
pb::custom-arg//parameter block
m::motion//motion
l::looks//looks
s::sound//sound
p::pen//pen
v::variables//variables
l::list//list
t::grey//tips
r::#ff0000//red
o::#ff8000//orange
y::#ffff00//yellow
lg::#00ff00//light green
b::#0000ff//blue
lv::#bb00ff//light violet
b::#000000//black
w::#ffffff//white
g::#808080//gray
b::#804000//brown
hp::#ff00cc//hot pink
[scratchblocks]
<<<<<<<<<<<<<<<<<<<<<<<<<<>::undefined>::#ff00cc>::#804000>::#808080>::#ffffff>::#000000>::#bb00ff>::#0000ff>::#00ff00>::#ffff00>::#ff8000>::#ff0000>::grey>::custom-arg>::custom>::operators>::sensing>::control>::events>::list>::variables>::pen>::sound>::looks>::motion>//COOLEST DIAMOND EVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[scratchblocks]
((((((((((((((((((((((((((()::undefined)::#ff00cc)::#804000)::#808080)::#ffffff)::#000000)::#bb00ff)::#0000ff)::#00ff00)::#ffff00)::#ff8000)::#ff0000))::custom-arg)::custom)::operators)::sensing)::control)::events)::grey)::list)::variables)::pen)::sound)::looks)::motion)//COOLEST ELLIPSE EVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[/scratchblocks]
[scratchblocks]
dab//COOL?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!
- gtar1
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
set (variable) to [0]
Last edited by gtar1 (Jan. 26, 2017 03:00:18)
If they say the sky's the limit, then why are there footprints on the moon?
I hope this helps! If you need any further, clarification, just ask!
- gtar1
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
I know. Can I add this to my backpack?HACKEDdefine add(var) to (list)
add (var) to (list)
block would look like this:add [var v] to [list v] ::custom
If they say the sky's the limit, then why are there footprints on the moon?
I hope this helps! If you need any further, clarification, just ask!
- NatChu1
- Scratcher
100+ posts
[scratchblocks] OFFICIAL testing topic
::#012345
::#789abc
::#deffff
[scratchblocks]
::#012345
::#789abc
::#deffff
[/scratchblocks]
I HAVE 15 FOLLOWERS
define (reporter) <boolean> (stack::stack) (C cap {}::loop cap) (hat::hat) (cap::custom-arg cap) [[string drop-down box v]::custom-arg] ((reporter pull-down menu v)::custom-arg)
e::events//events
c::control//control
s::sensing//sensing
o::operators//operators
mb/c::custom//more blocks/custom
pb::custom-arg//parameter block
m::motion//motion
l::looks//looks
s::sound//sound
p::pen//pen
v::variables//variables
l::list//list
t::grey//tips
r::#ff0000//red
o::#ff8000//orange
y::#ffff00//yellow
lg::#00ff00//light green
b::#0000ff//blue
lv::#bb00ff//light violet
b::#000000//black
w::#ffffff//white
g::#808080//gray
b::#804000//brown
hp::#ff00cc//hot pink
[scratchblocks]
<<<<<<<<<<<<<<<<<<<<<<<<<<>::undefined>::#ff00cc>::#804000>::#808080>::#ffffff>::#000000>::#bb00ff>::#0000ff>::#00ff00>::#ffff00>::#ff8000>::#ff0000>::grey>::custom-arg>::custom>::operators>::sensing>::control>::events>::list>::variables>::pen>::sound>::looks>::motion>//COOLEST DIAMOND EVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[scratchblocks]
((((((((((((((((((((((((((()::undefined)::#ff00cc)::#804000)::#808080)::#ffffff)::#000000)::#bb00ff)::#0000ff)::#00ff00)::#ffff00)::#ff8000)::#ff0000))::custom-arg)::custom)::operators)::sensing)::control)::events)::grey)::list)::variables)::pen)::sound)::looks)::motion)//COOLEST ELLIPSE EVER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[/scratchblocks]
[scratchblocks]
dab//COOL?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!
- explosive-tnt
- Scratcher
63 posts
[scratchblocks] OFFICIAL testing topic
when green flag clicked
forever
do stuff...
check FPS
end
define Check FPS
change [frame counter] by (1)
if <<frame counter> > [3]> then
set [ FPS] to ((10) / (((timer) * (10)) / (frame counter)))
reset timer
set [ frame counter] to []
explosive-tnt = awesome
this topic = cool
end
Need some help with some code? Ask Here and ask! This is my main account, and if you want to see my test account it is @explosive-tnt_test! My main projects will be on this account, so don't forget to smack the love-it button on all my stuff!
Things on this account…
Minecraft terrain …Pen text…………3d experiences!….Multiplayer engine!