Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » [scratchblocks] OFFICIAL testing topic
- unknownhydra
-
35 posts
[scratchblocks] OFFICIAL testing topic
when [#0012FA] clicked
say [The blue square was clicked!] for (3) secs
- BigBlueBlock
-
500+ posts
[scratchblocks] OFFICIAL testing topic
When gf clicked
say [#ff8800]
Last edited by BigBlueBlock (Aug. 31, 2013 14:38:05)
- turkey3
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
Didn't the old plugin have it? Or am I mistaken? And no thanks, I won't be your guestIt's actually really really difficult. If some CSS ninja can make angular booleans with borders and automatic vertical sizing using pure CSS (and JS, if you must), be my guest.I think they're going to do that. It's on the list of bugs.Can't. (EDIT: How do you make the boolean more prettiery?)

Last edited by turkey3 (Aug. 31, 2013 14:43:21)
- jvvg
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
No, it didn't, sadly.Didn't the old plugin have it? Or am I mistaken? And no thanks, I won't be your guestIt's actually really really difficult. If some CSS ninja can make angular booleans with borders and automatic vertical sizing using pure CSS (and JS, if you must), be my guest.I think they're going to do that. It's on the list of bugs.Can't. (EDIT: How do you make the boolean more prettiery?)
- clubpenguin552222
-
100+ posts
[scratchblocks] OFFICIAL testing topic
Correction:when gf clicked
ask [Does scratchblocks work?]
if
(answer) = [yes]
say [Hooray!]
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]
when gf clicked
ask [Does scratchblocks work?] and wait
if <(answer) = [yes]>
say [Hooray!]
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]
Last edited by clubpenguin552222 (Aug. 31, 2013 15:30:44)
- clubpenguin552222
-
100+ posts
[scratchblocks] OFFICIAL testing topic
if <> then say else say
define if <bolean> then say [True] else say [False]
if <bolean>
say [True]
else
Say [False]
end
if <> then say [Hi!] else say [Bye]
- Firedrake969
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
define testing [dropdown v]
stuff
if ([dropdown v])
huh
Forgot how to do dropdowns xD
Last edited by Firedrake969 (Aug. 31, 2013 16:13:22)
- blob8108
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
[option v] is the correct syntax for a dropdown. Just neither of those were valid uses of a dropdown (they're not valid in define hats, and you can't have a reporter block with no text). Forgot how to do dropdowns xD
- scratchisthebest
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
It still happens 

set [e v] to (9001) //define a variable
e // e on a line by itself (should be red, not a block)
<e> // <e> (should be green because angle brackets)
(e) // (e) (should not be green because it's a variable)
set [qqq v] to (9001) //define a variable
qqq // qqq on a line by itself (should be red, not a block)
<qqq> // <qqq> (should be green because angle brackets)
(qqq) // (qqq) (should not be green because it's a variable)
Last edited by scratchisthebest (Aug. 31, 2013 16:46:59)
- BigBlueBlock
-
500+ posts
[scratchblocks] OFFICIAL testing topic
Ninja'dCorrection:when gf clicked
ask [Does scratchblocks work?]
if
(answer) = [yes]
say [Hooray!]
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]when gf clicked
ask [Does scratchblocks work?] and wait
if <(answer) = [yes]>
say [Hooray!]
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]
- Zaneki
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
when gf clicked // the mom
if <not <<(kid) + (clean room?)> = [true]>>
say [Go clean your room. v]
broadcast [I'm-watching-you vibes v]
end
wait until <(distance to [kid v]) < [20 feet]>
ask [Is your room clean yet?] and wait
if <not <(answer) = [yes]>> then
turn video [off v]
say [Then get off YouTube and go clean your room!]
end
define "clean" // the kid
- dr3w8
-
100+ posts
[scratchblocks] OFFICIAL testing topic
Last edited by dr3w8 (Aug. 31, 2013 18:30:30)
- mathfreak231
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
Why did you have to enable this while I was away on vacation ;n;
If anyone is curious, the bug list for those who are too lazy to look on github is here. You will also see short wiki discussions.
If anyone is curious, the bug list for those who are too lazy to look on github is here. You will also see short wiki discussions.
- BigBlueBlock
-
500+ posts
[scratchblocks] OFFICIAL testing topic
Error ()()()()<><><><>[][][][]
Last edited by BigBlueBlock (Aug. 31, 2013 19:24:38)
- clubpenguin552222
-
100+ posts
[scratchblocks] OFFICIAL testing topic
( This is [false v] )
<This is [false too v] >
Last edited by clubpenguin552222 (Aug. 31, 2013 19:23:18)
- blob8108
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
True. I was thinking of changing that for the wiki, but I'm not sure about the forums. EDIT: Links and blocks don't work together.
Would it be useful to be able to add blocks like {stamp} inline in your posts? It would have to be a different tag – I'm thinking maybe [sb].
- blob8108
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
Oh, mf, I'm so sorry! If you would email me all your vacation plans in future so that I can work with the ST to schedule updates to your liking, I would be much obliged. Tnx. Why did you have to enable this while I was away on vacation ;n;

- meowflash
-
500+ posts
[scratchblocks] OFFICIAL testing topic
when [Sprite1 v] clicked // Before spaz attack
wait until <not <mouse down?>>
SPAZ ATTACK!!!
define SPAZ ATTACK!!!
forever
go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180))
say [OMG!!!]
end
ask [U MAD BRO???] and wait
if <(answer) = [yes]
say [I'm glad that you're mad!]
else
say [Meh...]
end
define broadcast [message1] then [message2]
broadcast (message1) and wait
broadcast (message2)
broadcast [Scratchblocks are out!] then [Scratch 2.0 is still being worked on.]
- technoboy10
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
@blob I know I've seen how to make CSS hexagons somewhere. I'll take a look in a few days. 

define this (var)
say (join (var) [this])
- blob8108
-
1000+ posts
[scratchblocks] OFFICIAL testing topic
know I've seen how to make CSS hexagons somewhere.The problem isn't just hexagons: you have to make a triangle shape that resizes with the height of it's parent. You want an element where it's I width is a percentage of the parent's height.
…you can always use JS for that part, of course.

- Discussion Forums
- » Help with Scripts
-
» [scratchblocks] OFFICIAL testing topic