Inspect.Storage.Used

Returns the storage space currently used for a given segment.

Usage:

current, maximum = Inspect.Storage.Used(segment)
ParameterTypeDatatypeDescription
segmentparameterstringThe storage segment to access. "player" will access the target's per-player storage, "guild" will access the target's guild's per-guild storage. If this function has no target parameter, then the player will be targeted.
currentresultnumberCurrent storage space used.
maximumresultnumberMaximum storage space available.