PDA

View Full Version : Is there an easy way to get the count of items in a stack?



dex
09-20-2018, 08:21 AM
Say you have a stack of 23 herbs in your auto bundler or 76 diamonds in your backpack, is there some way to get that # without iterating with foreach?

Gelston
09-20-2018, 09:12 AM
Set sortedview on

wetsand
09-20-2018, 11:53 AM
;sorter will also group items and give you a number

dex
09-20-2018, 12:56 PM
I meant within a script.... is there a command?