Hi nyoonyoto,
I believe this is an answer to your question? If there is a better answer anyone please post.
Quoting from script_commands.txt
Basically set the map to have the novending mapflag and then have an npc "set cells" on which cells you can vend on using the x1-x2, y1-y2.