I'd like to write a script will purchase the cheapest of a set of items given to it. I'm thinking specifically of TPS fruit, but it could work for pine needles/chunk of rock salt, etc. 
I just wanted to check if this functionality already exists. Has someone made a script that will do something like this, already?
				
			I just wanted to check if this functionality already exists. Has someone made a script that will do something like this, already?
 
	