This is a script I wrote during the Magicina Invasion to help look for new Rubble pieces, and automatically pick them up once the player got within range of them. I am only uploading this for others to use in their own scripts. This could be used for just about anything, such as reagents, gold, artifacts, etc. You need only to change the defined item types at the beginning of the script.
Thanks goes to TrailMyx and Cerveza for their help on this script!