Requested in discord: script example to use NpcTrade function (selling stuff at npc vendor) with a Do-not-sell list.
Notes:
NpcTrade does not require to open dialogue, just by targeting the vendor is enought (at least here in toggle).
Take special care when editing DoNotList Length because it may happen that compiling doesn't give any error but later on adrenaline will crash while running.
LoadItems function (move stuff to WH) should work the same as this but it is not working on trial verion
Share & Enjoy
NpcTrade.txt