Random buying and selling prices

Hello all

I am in the early stages of a game about buying and selling and I have been looking for a way to randomise buying and selling prices for items.

There are some scripts that seem to do lots of things including some form of randomisation, but I only want that little part.

Has anyone come across something that will do the trick?

Thanks in advance
You can try my script "Custom Prices". Find it at my Blog.
 

For a random price between 1-100 you'd use:

<buy: rand(100)+1>in an item's/equipment's notebox.

Original thread: https://forums.rpgmakerweb.com/threads/random-buying-and-selling-prices.42691/