Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Lists
- spyrofan
-
Scratcher
74 posts
Lists
Okay im having trouble with lists can some one give me a small guide or tutorial on how to use them
- scrooge200
-
Scratcher
1000+ posts
Lists
Lists are used like this.
say [I got some water!] for (2) secsThat's just a basic way to use lists. Try experimenting with lists! Although, if you need a specific script, just ask here!
add [water] to [inventory v]
forever
if <[inventory v] contains [water]> then
ask [Would you like to drink the water?] and wait
else
say [You do not have any water right now.] for (4) secs
end
end
- Discussion Forums
- » Help with Scripts
-
» Lists


