Consolidation Vs. Multiple Scripts ... Thoughts?

I have been cleaning up a game I work on recently and I want to know your ideas on this debate I had with a colleague. Is it better to have one script doing multiple alike functions or one script per category?
So to just give an example, having one script handling in-game transactions for multiple vendors or one script per vendor.

Depends, if by vendor you mean for example something that prompts a purchase, you should just have one script all of the vendors. Makes it easier to make edits, and much more efficient.

Was talking in general, for anything that is an overworld system.

Having 1 script is more organized but it can get messy. Luckily, there are organized ways of dealing with lots of code in 1 script like sorting your functions by the first letter from A to Z, making function names that are easy to remember, etc.

I usually have one or two client scripts, and one or two server scripts (not including module scripts).

This helps me change code once and have it work for all and keeps it organized in one place