The collectibles thing....there is not a lot I can do about that , examining the collectible is the only way to see if it's already been used or not , unless I can figure out how to close the collections window if it opens up, but I'm not sure that will help anyway.
I always add my collectibles before running the script or move any collectibles I want to keep and add later into a no-sale bag before running myprices.
The No-Trade thing...I'll check that , it SHOULD know it's no-trade and ignore it as I put a check in specifically for that, I'll check thats working.
This should skip the item if it's attuned / no-trade or Heirloom
Code:
if !${Me.CustomInventory[${PSxvar}].Attuned} && !${Me.CustomInventory[${PSxvar}].NoTrade} && !${Me.CustomInventory[${PSxvar}].Heirloom}
The box thing , no , it "shouldn't" matter.
To me it looks like it's the collections window opening up thats stopping the script and causing the problems anyway.