This script dynamically changes your lootlist depending on cirumstance. It can, for example, be used to loot gold only over certain capacities.
You will need to supply the xbst with the original loot-list in the config. There is short-hand notation for expressing that you want an item to be looted only over a certain capacity and a more general notation for describing any circumstance.
One limitation is that conditionally looted items cannot be deposited by the built-in Deposit Items waypoint.