Total players online: 12



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