Well, it's not really a vendor, but it is relative. I can understand how the LUA script would work, but I don't know the commands. What I am trying to do, is make an LUA script so that when you talk to the NPC, he gives you a list of items. To buy those items, you have to have tokens. So the script would be something like...
But I am not sure. Is there a script like this? Just thought it would be unique instead of a quest or a vendorCode:player:RemoveItem(xxxxx) player:AddItem(xxxxxx)
Also, is there a way to make the NPC say something in the chat window (Not SendMessage, I mean when you talk to her and it brings up her window.)
Oh, and if there is, how do I set the amount of items it takes from the player inventory?
Sorry for all the questions!
Someone will get a +rep cookie!