There is /sell inventory, so why not /worth inventory? Just a thought, there have been many times when I wanted to see how much all of my inventory was and couldn't.
well you can already select all sellable items with the /sell inventory so it should be very similar with /worth
When you do /sell inventory, it sells each item seperately, so you would have to add to the code to add the /worth values of every item, that way you're not spammed with a bunch of /worths, similiar to how you get spammed with /sells.