bWolfie
I'm the man
The sellitem() command doesn't support selling multiples of one item for the price of 1 currency. You would need to create custom items which would turn into 20 BG Whites.Thank you for pointing that out it got rid of the errors and I can finally interact with the NPC. I have one more question tho, do you know how to change the ratio for the consumables? Cause exchanges are 1:1, and what I wanted for example is, 1 War Badge:20 BG Whites and 2 War Badge:20 WoE Whites. I've attached the script for you to see. Again, thank you for helping me out!
Edit: The script attached works like a cash shop btw. I got the idea on one of the servers I played and theirs work more like a dynamic shop, which I preferred more.
View attachment 4263
Example: BG Whites box contains 20 BG Whites and costs 1 war badge.