I have a question: how can I make it so that in the editor, within a quest, you can bring in a lot of items and sell them?
http://heroes.ag.ru/maps/scripts/
There is also a good guide on HoMM4 scripts nearby:
http://heroes.ag.ru/advices/Scripting_Guide/