Discuss Scratch

78ch3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

Burza27 wrote:

I think i posted here yesterday but didnt really explain myself properly. i cant share my code here so il have to explain it as best i can. Im trying to to write a code that will ask the user for an input, whether want circles, squares or both. so i got the variables down for both the circle and square. and only one sprite with 2 of the circle and square costumes. the place im stuck at is, after the script is started and the user has entered ‘b’ for both circles and squares and its gone past the ‘if (shape=<c>)’ and ‘if (shape=<s>)’, thats cool, because they want both shapes! so now i want to be able to produce both circle and square costumes for my sprite to print out based on the monitored sound level (which ive sorted out already) please help if you get my predicament.
This is not the place for getting help with scripts. This is a place for testing the scratchblocks BBcode plugin. I will get a ST member to move this to the Help with Scripts forum.
BTW I get your ‘predicament’, if it can be called that. Can't help you at the moment.
This is in the wrong forum :: events hat
So an ST member will move it to another forum :: motion stack
Forever
Imagine :: looks stack
Program :: control stack
Share :: sensing stack
End
Burza27
New Scratcher
5 posts

[scratchblocks] OFFICIAL testing topic

If you get my ‘predicament’ a little help here wouldnt take long.
78ch3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

Burza27 wrote:

If you get my ‘predicament’ a little help here wouldnt take long.
Sorry, but this is a place for testing scratchblocks, not for getting help. Plus I said I can't help you at the moment.

Last edited by 78ch3 (May 5, 2017 22:14:29)

Penguin5664
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

Burza27 wrote:

I think i posted here yesterday but didnt really explain myself properly. i cant share my code here so il have to explain it as best i can. Im trying to to write a code that will ask the user for an input, whether want circles, squares or both. so i got the variables down for both the circle and square. and only one sprite with 2 of the circle and square costumes. the place im stuck at is, after the script is started and the user has entered ‘b’ for both circles and squares and its gone past the ‘if (shape=<c>)’ and ‘if (shape=<s>)’, thats cool, because they want both shapes! so now i want to be able to produce both circle and square costumes for my sprite to print out based on the monitored sound level (which ive sorted out already) please help if you get my predicament.
For everyone but Burza27:
I DONT CARE IF THIS IS NOT A HELPING PAGE, I WILL HELP EVERYONE!!!

Okay, I've got it, but I need more details : Uses an Ask block? If it does, then you might want to set the “shape” variable to the answer, like this:

when gf clicked
broadcast [Run v]

when I receive [Run v]
go to x:(0) y:(0) // The "clear" block thing was useless because you didn't stamped something...
ask [shape?] and wait
set [shape v] to (answer) // This may be the missing block?
if <(shape)=[o]> then
switch costume to [shape1 v]
end
if <(shape)=[s]> then
switch costume to [shape2 v]
end
if <(shape)=[b]> then
switch costume to [shape3 v]
end
if <not <<(shape)=[o]> or <<(shape)=[s]> or <(shape)=[b]>>>> then
say [Non-valid shape!] for (2) secs
broadcast [Run v]
end

I hope this script helped.
dovelie_justice
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

when green flag clicked
point towards [AWESOMENESS v]
play sound [OH! v]
set pen color to [#85927b]
if <[@dovelie_justice] = [#1 Harry Potter Fan!]> then
say [HARRY POTTER FOREVER YAAAAAA]
end

This colour is sooo cute! ::#ff00cc
Penguin5664
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

dovelie_justice wrote:

when green flag clicked
point towards [AWESOMENESS v]
play sound [OH! v]
set pen color to [#85927b]
if <[@dovelie_justice] = [#1 Harry Potter Fan!]> then
say [HARRY POTTER FOREVER YAAAAAA]
end

This colour is sooo cute! ::#ff00cc
If you're familiar with the [scratchblocks] plugin, please dont post there. Thanks!
78ch3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

Just do Scratch
This seems to be the wrong forum for chat :: #11ea66 hat
So get scratching! :: #000000
This text is invisible. Penguin5664 tried to gang up on me with another scratcher. :: #ffffff
Penquin5664: you will never know what is in my invisible text :: #660000
78ch3 is AWESOME! :: #669999
Coloured block! :: #55ee11
This is fun. So do this: :: #4411f0
Imagine :: sound stack
Program :: operators stack
Share :: sensing stack
ZZ9PluralZAlpha is <fun::operators Boolean >:: looks cap
Penguin5664
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

78ch3 wrote:

Just do Scratch
This seems to be the wrong forum for chat :: #11ea66 hat
So get scratching! :: #000000
This text is invisible. Penguin5664 tried to gang up on me with another scratcher. :: #ffffff
Penquin5664: you will never know what is in my invisible text :: #660000
78ch3 is AWESOME! :: #669999
Coloured block! :: #55ee11
This is fun. So do this: :: #4411f0
Imagine :: sound stack
Program :: operators stack
Share :: sensing stack
ZZ9PluralZAlpha is <fun::operators Boolean >:: looks cap
Stop block-spamming.
Also, I could read what was the “invisible” (That was actually a white block covering the white text) text. Only highlight it, there it is:
“This text is invisible. Penguin5664 tried to gang up on me with another scratch”
But I didn't even understood the “with another scratch”, did you mean “scratcher”?

EDIT: Can't you even close a tag? It causes problems in quotes!

Last edited by Penguin5664 (May 6, 2017 00:35:36)

yiming123
Scratcher
30 posts

[scratchblocks] OFFICIAL testing topic

when green flag clicked
set [ awsome] to [yes]
yiming123
Scratcher
30 posts

[scratchblocks] OFFICIAL testing topic

when green flag clicked
forever
(imagine)
(program)
(share)
end
monstermash3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

[#000000][#000000][#000000][#000000][#000000][#ffffff][#ffffff][#ffffff][#000000][#ffffff][#ffffff][#ffffff][#000000][#000000][#000000][#000000][#000000]::#000000
[#000000][#000000][#000000][#000000][#000000][#ffffff][#000000][#000000][#000000][#ffffff][#000000][#ffffff][#000000][#000000][#000000][#000000][#000000]::#000000
[#000000][#000000][#000000][#000000][#000000][#ffffff][#ffffff][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#000000][#000000][#000000][#000000]::#000000
[#000000][#000000][#000000][#000000][#000000][#000000][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#000000][#000000][#000000][#000000]::#000000
[#000000][#000000][#000000][#000000][#000000][#ffffff][#ffffff][#ffffff][#000000][#ffffff][#ffffff][#ffffff][#000000][#000000][#000000][#000000][#000000]::#000000
[#ffffff][#000000][#000000][#000000][#ffffff][#000000][#000000][#000000][#ffffff][#000000][#000000][#000000][#ffffff][#000000][#ffffff][#ffffff][#ffffff]::#ffffff
[#ffffff][#000000][#ffffff][#ffffff][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#ffffff][#ffffff]::#ffffff
[#ffffff][#000000][#ffffff][#ffffff][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#ffffff][#ffffff]::#ffffff
[#ffffff][#000000][#ffffff][#ffffff][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#000000][#ffffff][#ffffff][#ffffff]::#ffffff
[#ffffff][#000000][#000000][#000000][#ffffff][#000000][#000000][#000000][#ffffff][#000000][#000000][#000000][#ffffff][#000000][#000000][#000000][#ffffff]::#ffffff
XCat
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

forever
scratch: #ff0000
imagine: #ff8000
program: #ffff00
share: #00ff00
end
Johan3537
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

Burza27 wrote:

I think i posted here yesterday but didnt really explain myself properly. i cant share my code here so il have to explain it as best i can. Im trying to to write a code that will ask the user for an input, whether want circles, squares or both. so i got the variables down for both the circle and square. and only one sprite with 2 of the circle and square costumes. the place im stuck at is, after the script is started and the user has entered ‘b’ for both circles and squares and its gone past the ‘if (shape=<c>)’ and ‘if (shape=<s>)’, thats cool, because they want both shapes! so now i want to be able to produce both circle and square costumes for my sprite to print out based on the monitored sound level (which ive sorted out already) please help if you get my predicament.
I did see your posts.

when green flag clicked
point in direction (90 v)
forever
Dance :: custom
end
define Dance
repeat (25)
turn cw (45) degrees
end
point in direction (90 v)
Dance 2 :: custom
define Dance 2
forever
next costume
wait (0.5) secs
end

https://vignette2.wikia.nocookie.net/clubpenguin/images/6/6e/Penguin_Cup_2014_Emoticons_Woo_hoo.gif/revision/latest?cb=20140619115523
78ch3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

when green flag clicked
Start [Minecraft Pocket Edition 1.0.3 v] :: extension stack
Activate [Extrose Hacker v] :: extension stack
Start [All Programs v] :: Extension stack
Deactivate [Programs 10e, 50os, 25ee v] :: extension stack
if <Programs Complete :: extension boolean> then
Stop [Extrose Hacker v] :: extension stack
Play [Minecraft Pocket Edition 1.0.3 v] :: extension stack
end
78ch3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

Penguin5664 wrote:

78ch3 wrote:

Just do Scratch
This seems to be the wrong forum for chat :: #11ea66 hat
So get scratching! :: #000000
This text is invisible. Penguin5664 tried to gang up on me with another scratcher. :: #ffffff
Penquin5664: you will never know what is in my invisible text :: #660000
78ch3 is AWESOME! :: #669999
Coloured block! :: #55ee11
This is fun. So do this: :: #4411f0
Imagine :: sound stack
Program :: operators stack
Share :: sensing stack
ZZ9PluralZAlpha is <fun::operators Boolean >:: looks cap
Stop block-spamming.
Also, I could read what was the “invisible” (That was actually a white block covering the white text) text. Only highlight it, there it is:
“This text is invisible. Penguin5664 tried to gang up on me with another scratch”
But I didn't even understood the “with another scratch”, did you mean “scratcher”?

EDIT: Can't you even close a tag? It causes problems in quotes!

1: yes. I meant scratcher.

2: I'm not block-spamming. I'm testing scratchblocks.

3: how did you see my text? I couldn't see it so you couldn't see it!
Johan3537
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

78ch3 wrote:

Penguin5664 wrote:

78ch3 wrote:

Just do Scratch
This seems to be the wrong forum for chat :: #11ea66 hat
So get scratching! :: #000000
This text is invisible. Penguin5664 tried to gang up on me with another scratcher. :: #ffffff
Penquin5664: you will never know what is in my invisible text :: #660000
78ch3 is AWESOME! :: #669999
Coloured block! :: #55ee11
This is fun. So do this: :: #4411f0
Imagine :: sound stack
Program :: operators stack
Share :: sensing stack
ZZ9PluralZAlpha is <fun::operators Boolean >:: looks cap
Stop block-spamming.
Also, I could read what was the “invisible” (That was actually a white block covering the white text) text. Only highlight it, there it is:
“This text is invisible. Penguin5664 tried to gang up on me with another scratch”
But I didn't even understood the “with another scratch”, did you mean “scratcher”?

EDIT: Can't you even close a tag? It causes problems in quotes!

1: yes. I meant scratcher.

2: I'm not block-spamming. I'm testing scratchblocks.

3: how did you see my text? I couldn't see it so you couldn't see it!
you go to quote and and then you see the code, duh..
78ch3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

when green flag clicked
Start [Minecraft Pocket Edition 1.0.3 v] :: extension stack
Activate [Extrose Hacker v] :: extension stack
Start [All Programs v] :: extension stack
Deactivate [Programs 10e, 50os, 25ee v] :: extension stack
if <Programs Complete :: extension boolean> then
Stop [Extrose Hacker v] :: extension stack
Play [Minecraft Pocket Edition 1.0.3 v] :: extension stack
end
78ch3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

Johan3537 wrote:

78ch3 wrote:

Penguin5664 wrote:

78ch3 wrote:

Just do Scratch
This seems to be the wrong forum for chat :: #11ea66 hat
So get scratching! :: #000000
This text is invisible. Penguin5664 tried to gang up on me with another scratcher. :: #ffffff
Penquin5664: you will never know what is in my invisible text :: #660000
78ch3 is AWESOME! :: #669999
Coloured block! :: #55ee11
This is fun. So do this: :: #4411f0
Imagine :: sound stack
Program :: operators stack
Share :: sensing stack
ZZ9PluralZAlpha is <fun::operators Boolean >:: looks cap
Stop block-spamming.
Also, I could read what was the “invisible” (That was actually a white block covering the white text) text. Only highlight it, there it is:
“This text is invisible. Penguin5664 tried to gang up on me with another scratch”
But I didn't even understood the “with another scratch”, did you mean “scratcher”?

EDIT: Can't you even close a tag? It causes problems in quotes!

1: yes. I meant scratcher.

2: I'm not block-spamming. I'm testing scratchblocks.

3: how did you see my text? I couldn't see it so you couldn't see it!
you go to quote and and then you see the code, duh..

Number three was a prank. I know how to see code. I've done it before.
I HAVE JUST DONE MY 50TH QUOTE!
I have also 24 non-quote posts. I'm pretty active on the forums.
I have officially stopped using scratchblocks: OFFICIAL Testing Topic so I will delete all messages on this topic when I become a scratcher. JUST KIDDING!

Last edited by 78ch3 (May 28, 2017 22:06:10)

Johan3537
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

78ch3 wrote:

Johan3537 wrote:

78ch3 wrote:

Penguin5664 wrote:

78ch3 wrote:

Just do Scratch
This seems to be the wrong forum for chat :: #11ea66 hat
So get scratching! :: #000000
This text is invisible. Penguin5664 tried to gang up on me with another scratcher. :: #ffffff
Penquin5664: you will never know what is in my invisible text :: #660000
78ch3 is AWESOME! :: #669999
Coloured block! :: #55ee11
This is fun. So do this: :: #4411f0
Imagine :: sound stack
Program :: operators stack
Share :: sensing stack
ZZ9PluralZAlpha is <fun::operators Boolean >:: looks cap
Stop block-spamming.
Also, I could read what was the “invisible” (That was actually a white block covering the white text) text. Only highlight it, there it is:
“This text is invisible. Penguin5664 tried to gang up on me with another scratch”
But I didn't even understood the “with another scratch”, did you mean “scratcher”?

EDIT: Can't you even close a tag? It causes problems in quotes!

1: yes. I meant scratcher.

2: I'm not block-spamming. I'm testing scratchblocks.

3: how did you see my text? I couldn't see it so you couldn't see it!
you go to quote and and then you see the code, duh..

Number three was a prank. I know how to see code. I've done it before.
I HAVE JUST DONE MY 50TH QUOTE!
I have also 24 non-quote posts. I'm pretty active on the forums.
I have officially stopped using scratchblocks: OFFICIAL Testing Topic so I will delete all messages on this topic when I become a scratcher.
Woah, Woah, Calm Down!
chlbug
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

when Scratch Day arrived::events hat
Go to [https://scratch-mit-edu.ezproxyberklee.flo.org]
Have [fun v]::looks cap

Last edited by chlbug (May 6, 2017 12:03:19)

Powered by DjangoBB