Alexandria Uptime: 14.58 Days
Total players online: 0



Take the Tour | Site Map

Name

getContainerInfo — Retrieves the number of items and stones for a container.

Synopsis

call subs.txt getContainerInfo { Id } [ return ]

Author

the.WZA

Parameters

Table 62. getContainerInfo parameters

NameDescription
IdId of the container.
returnName of return value ('return' by default).

Description

Retrieves the number of items and the total weight in stones for a container.

Returns

@%2Items and @%2Stones

Changes

#property and #strRes

Example

call subs.txt getContainerInfo %backpackID myContainer
set %freeItems 125 - %myContainerItems
set %freeStones 400 - %myContainerStones