Here's a tip that I can add to the list (ironically, it has to do with lists

).
If you want a method to go through a list of objects, numbers, etc. and do something to an object that meets certain criteria then here's the pseudo code for that:
Execute a loop where I loop the size of the list
If the chosen action is true, false, etc. against the item [index] from the list
then do the chosen action against that item in the list.
end
end
I've found this piece of info very useful and I often use it both in Alice and Lua.