"Replace Item That Contains _______ With ______ in (LIST)
Detects The line that has a certain Word.
It would be a HUGE advance.
I know you CAN do that, but this is easier
Last edited by ProjectMakerMusic (2012-03-24 20:43:31)
Offline
You mean;
<position of [thing] in [list v]>?
Offline
But what if there are multiple items that have it? What if you only want a certain number to be replaced?
Offline
my loophole is a codename.
so bassicly 8B is a code name, and all the other ones would be different
Offline
In Scratch 2.0, there would be a section where you can make your own scripts.
Offline
Support!
I wouldn't support if this was possible
replace item (<[afdsa v]contains [Blah]>) of [afdsa v] with [Blah]
Last edited by funelephant (2012-03-28 14:54:11)
Offline
when gf clicked wait until <your ready> if <[list v] contains [whatever you want]> set [a v] to [0] //create a variable just for this repeat until <not<[list v] contains [whatever you want]>> change [a v] by [1] if <<item <a> of [list v]> = [whatever you want]> replace item <a> with [this thing] end end endThat should be a workaround if your looking to replace all the items that fit whatever requirements you put.
Offline
RedRocker227 wrote:
You mean;
<position of [thing] in [list v]>?
That'd be cool.
<position [1 v] of [thing] in [list v]>
Offline
ImagineIt wrote:
RedRocker227 wrote:
You mean;
<position of [thing] in [list v]>?
That'd be cool.<position [1 v] of [thing] in [list v]>
That wouldn't be the same.
<position of [thing] in [list v]>would be a reporter that would report the # item that has "thing"
Offline