Discuss Scratch

ScratchBookStudio
New to Scratch
2 posts

List Object Number

Does anybody know how i can use the number next to an item in a list to make it tell me what number object “gold” is in my list?
turkey3_test
Scratcher
1000+ posts

List Object Number

Try:
set [i v] to [0
repeat (length of [list v])
change [i v] by (1)
if <(item (i) of [list v]) = [gold]>
say (join [Gold is in item](i))
end

Last edited by turkey3_test (Jan. 31, 2014 23:50:29)


ScratchBookStudio
New to Scratch
2 posts

List Object Number

Thanks Bro

Powered by DjangoBB