Discuss Scratch

sisayisback
Scratcher
21 posts

I need help shortening a script.

As you can see here, I'm trying to do something, but the script is too long for my liking.


It's basically:

Current month = 10 and current date = 27, or current date = 28, ETC.

It's going to clog up the editor and make it very inconvenient. Ideas on how to shorten it?

when green flag clicked
say [Follow sisayisback!]

It's just me, Sisay!

Learn to identify clouds In my new project! https://scratch.mit.edu/projects/540100543/
han614698
Scratcher
1000+ posts

I need help shortening a script.

Please link the project. I bet I can help; I love working with date blocks….

<Scratch Wikian | Forum Helper | 6000+ Posts>

Credit to -gge for the icons in my signature | I condensed all this code into five lines using [p] tags, idk why




sisayisback
Scratcher
21 posts

I need help shortening a script.

Sure: https://scratch.mit.edu/projects/564498132/ (Not actual project, just has the script inside.)

when green flag clicked
say [Follow sisayisback!]

It's just me, Sisay!

Learn to identify clouds In my new project! https://scratch.mit.edu/projects/540100543/
deck26
Scratcher
1000+ posts

I need help shortening a script.

<<(current [month v]) = [10] > and <(current [date v]) > [26] >>
sisayisback
Scratcher
21 posts

I need help shortening a script.

Thanks!

when green flag clicked
say [Follow sisayisback!]

It's just me, Sisay!

Learn to identify clouds In my new project! https://scratch.mit.edu/projects/540100543/

Powered by DjangoBB