Introduction: Greetings everyone. I have an issue that I am hoping would prove a simple resolution to the more experienced script writers among you. After searching, I have been unable to find the answer myself so here we are and I thank you in advance just for taking a look at my problem.
Issue/Goal: I wanted a way to add an item to what a merchant sells without changing/affecting the rest of what they sell. Because I wanted to reduce the likelihood of mod conflict, I thought a script would be the best way to go. I do not wish to add the item to any level lists as I think/believe this would result in other vendors possibly having the items as well as enemies. And in my search for a solution, it would seem AddItem alone would not suffice due to the fact that a merchant's chest respawns/refreshes.
Problems With What I Found: I am still pretty novice at several aspects of this so despite finding what I believe to be the answer, I am not sure how to specifically get it to work (such as do I need to set up the aliases in the quest or is it defined in the script or both... if I have to set them up in the quest, which settings/checkboxes are used... where exactly do I tell the script to add my item to the chest). The answer may be obvious, especially with what I found, but while I understand what I found much better than I would have a few months ago, I'm still pretty green with scripting and quest making.
What I Found: Because of how the site looks when you're not a member (it doesn't show anyone's name and any code shown is smushed together without spaces so it has to be manually separated) I do not know who to credit for this (though it may have been Chesko) but this is basically what was said as an answer to someone else asking a similar question as what I am asking...