every time i think i have a grasp of what is going i realise i dont have a clue lol
I remember when all i knew to do with finditem was if #findkind = -1.
The more code you read and follow through , the more you will learn about how gumps are moved and placed, and different variables can be used and checked.  I just upgraded my pot maker to 2.0b and in the script i move the packs around to specific locations.  I also do it in other scripts including a really simple on, c2's keg emptier.  That is a good one to read through for reference.  It is over at winuo.org though.  I am starting to put a few scripts up here though too.  Need to put some out in public though.