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

#1 2012-05-15 15:41:03

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Help with selector words! (like in panther $String$)

I need help making it so rather than %s i can do %string% (using percentage symbols as $ signs would be used in panther.)

Anyone know how to do this?

Do I have to have $'s like in panther?

I know I once tried doing this... but I don't remember if I succeeded or not...


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#2 2012-05-15 20:45:26

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Help with selector words! (like in panther $String$)

Anyone know?  hmm


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#3 2012-05-24 15:37:40

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Help with selector words! (like in panther $String$)

Bump.  hmm


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#4 2012-05-24 16:31:24

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Help with selector words! (like in panther $String$)

Hmm...  I'd try asking sparks or nXIII or one of thier projects (so they are notified). I don't think anyone else has an idea. I can take a look at it though.
However, I find it for convenient the way Scratch did it, because it is a lot faster. But I understand why you (and others) would want to do it.
EDIT: I read your sig about 5 times over  tongue

Last edited by chanmanpartyman (2012-05-24 16:37:54)

Offline

 

#5 2012-05-24 16:52:35

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Help with selector words! (like in panther $String$)

Scratch-Blocks>>CommandBlockMorph>>private>>parseCommandSpec: may have something to do with it. I'm modding right now and I don't want to jack anything up. I'll experiment with it in a different source code.

Offline

 

#6 2012-05-25 02:26:32

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Help with selector words! (like in panther $String$)

chanmanpartyman wrote:

Scratch-Blocks>>CommandBlockMorph>>private>>parseCommandSpec: may have something to do with it. I'm modding right now and I don't want to jack anything up. I'll experiment with it in a different source code.

I tried that in my mod and it messes up the blockspec.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#7 2012-05-28 16:46:39

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Help with selector words! (like in panther $String$)

nathanprocks wrote:

chanmanpartyman wrote:

Scratch-Blocks>>CommandBlockMorph>>private>>parseCommandSpec: may have something to do with it. I'm modding right now and I don't want to jack anything up. I'll experiment with it in a different source code.

I tried that in my mod and it messes up the blockspec.

Hmm...  hmm


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#8 2012-05-29 18:03:35

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Help with selector words! (like in panther $String$)

nathanprocks wrote:

chanmanpartyman wrote:

Scratch-Blocks>>CommandBlockMorph>>private>>parseCommandSpec: may have something to do with it. I'm modding right now and I don't want to jack anything up. I'll experiment with it in a different source code.

I tried that in my mod and it messes up the blockspec.

Well, the goal was to change the selectors, so, for example, move (10) steps may show up as move %n steps as a block. Doing this, you would have to rewrite every block, so it is best to do it before you even start.

Offline

 

Board footer