Discuss Scratch

megaman100
Scratcher
100+ posts

Ability to add names to scripts

rdococ wrote:

Support, along with a feature to search scripts by name. This would make it easier to edit large projects.
Someone actually suggested the ability to search for scripts here: https://scratch.mit.edu/discuss/topic/85176/
megaman100
Scratcher
100+ posts

Ability to add names to scripts

ScratchMarioMan64 wrote:

TheAdriCoolManDude wrote:

ScratchMarioMan64 wrote:

We have a lot of positive support, I think ST has the chance to find this soon and put their decision into it :3
Actually, no. It's 3 supporters and 4 or 5 non-supporters so far.
Oh. Ok.
But those opinions were before I stated my reasons. So they could be outdated.
StrangeMagic32
Scratcher
1000+ posts

Ability to add names to scripts

Support, and for anyone who is saying, “just use comments” you can't use comments to search for a specific script out of say 100 scripts. Using comments would take a long time to look for something, and just searching for it is a better idea.
megaman100
Scratcher
100+ posts

Ability to add names to scripts

ScratchMarioMan64 wrote:

TheAdriCoolManDude wrote:

ScratchMarioMan64 wrote:

We have a lot of positive support, I think ST has the chance to find this soon and put their decision into it :3
Actually, no. It's 3 supporters and 4 or 5 non-supporters so far.
Oh. Ok.
Well we still have a high chance since we now have 5 supporters.
DaEpikDude
Scratcher
1000+ posts

Ability to add names to scripts

I'd actually like this, assuming that:
- you can search for the named scripts
- the script names show up in the backpack
- you can stop specific scripts

Would the names be checked against all other names in the sprite or project? e.g. if you added a script for one sprite called “main loop”, could another sprite also have a script called “main loop”?
TheAdriCoolManDude
Scratcher
1000+ posts

Ability to add names to scripts

StrangeMagic32 wrote:

Support, and for anyone who is saying, “just use comments” you can't use comments to search for a specific script out of say 100 scripts. Using comments would take a long time to look for something, and just searching for it is a better idea.
You use a different comment for every script. So if you are looking for Script 59, it will be a specific comment.
megaman100
Scratcher
100+ posts

Ability to add names to scripts

TheAdriCoolManDude wrote:

StrangeMagic32 wrote:

Support, and for anyone who is saying, “just use comments” you can't use comments to search for a specific script out of say 100 scripts. Using comments would take a long time to look for something, and just searching for it is a better idea.
You use a different comment for every script. So if you are looking for Script 59, it will be a specific comment.
But with comments you can't do this

DaEpikDude wrote:

I'd actually like this, assuming that:
- you can search for the named scripts
- the script names show up in the backpack
- you can stop specific scripts
megaman100
Scratcher
100+ posts

Ability to add names to scripts

DaEpikDude wrote:

I'd actually like this, assuming that:
- you can search for the named scripts
- the script names show up in the backpack
- you can stop specific scripts

Would the names be checked against all other names in the sprite or project? e.g. if you added a script for one sprite called “main loop”, could another sprite also have a script called “main loop”?
Yes! Multiple sprites can have scripts that share the same name, but scripts sharing the same name cannot be in the same sprite.
megaman100
Scratcher
100+ posts

Ability to add names to scripts

DaEpikDude wrote:

I'd actually like this, assuming that:
- you can search for the named scripts
- the script names show up in the backpack
- you can stop specific scripts

Someone actually suggested the idea to stop specific scripts here.

Last edited by megaman100 (Nov. 25, 2018 23:55:50)

Sairam1265
Scratcher
42 posts

Ability to add names to scripts

Support!
wowza_studio
Scratcher
36 posts

Ability to add names to scripts

rdococ wrote:

Support, along with a feature to search scripts by name. This would make it easier to edit large projects.
I definitely agree with this one!
kjtv9000new
Scratcher
37 posts

Ability to add names to scripts

SUPPORT! :: looks
BestUsernameSoFar
Scratcher
100+ posts

Ability to add names to scripts

Support. I think this would be really useful, especially for
high used animations. Also, for those who keep mentioning the way to add a comment to a script. This wouldn't work with the whole reason we need it. Go here for more info.
nerdiebirdy
Scratcher
500+ posts

Ability to add names to scripts

It would be great if we could somehow use this to start and stop specific scripts!
arjunking788
Scratcher
100+ posts

Ability to add names to scripts

support sticky mae it messy and need to find stickies
name is good
SuperSean12
Scratcher
500+ posts

Ability to add names to scripts

convoluto- wrote:

megaman100 wrote:

TheRealNetherBefore wrote:

megaman100 wrote:

The reason why I supported this was so that you could be able to stop specific scripts.
Couldn't you do that with a variable? No support, this feature doesn't really have a use.
Actually it would have a use for features like these:

Then why stop there? Make blocks for the features.
it could also make it easier to go to certain scripts quicker
scratch978654
Scratcher
100+ posts

Ability to add names to scripts

The comments system is terrible (no offence) and I have never used it. Plus in most programming languages there is only one script, so this would continue to build up the barrier between Scratch and say, Python / Java.

Why would you want this system anyway? You can just use broadcasts for each name, so broadcast myScript would be part of myScript.

10% support.
-InsanityPlays-
Scratcher
1000+ posts

Ability to add names to scripts

Why would you want to be able to tag scripts? Because
stop [sprite1 v]
and
stop [script1 v]
are both dupes.
mybearworld
Scratcher
1000+ posts

Ability to add names to scripts

stop [script1 v] :: stack #ffab19

when @greenFlag clicked ([Script1] :: #eeae00) :: #ffbf00 hat
Support!
gosoccerboy5
Scratcher
1000+ posts

Ability to add names to scripts

This sounds a bit awkward to use. I'd personally prefer using custom blocks to name scripts.

Powered by DjangoBB