This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-11-15 22:58:45

nitromegamer
Scratcher
Registered: 2009-08-13
Posts: 45

I need a script block that doesn't exist?

I am making a program in Scratch that transliterates peoples' names into Japanese. I need to tell the program that it does not need to add a U after a consonant if the next letter matches one of the items from a list. (Are you confused now?)

Basically, I have a list that contains all of the English vowels. I need a block that is just like this:
  <{ Item (Any) of (Vowels)  }>
except that by "any", it means ALL of the items in the list. That way I can tell the program that if a list item does not match any of the items in the Vowels list, it has to insert a U.

Is there another way I can do this without making my scripts REALLY huge?

Offline

 

#2 2011-11-16 00:19:56

iTweak0r
Scratcher
Registered: 2011-07-30
Posts: 100+

Re: I need a script block that doesn't exist?

Use <not <[vowels] contains (some stuff)> >

And oh, you should put this in all about scratch

Last edited by iTweak0r (2011-11-16 00:21:04)


Make it in Scratch! because it's cooler when it's made in scratch
http://i.imgur.com/D4iqPHR.png

Offline

 

Board footer