Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

llGetInventoryNumber

LSL
integer llGetInventoryNumber(integer type)

Returns the quantity of items of a given type (INVENTORY_* flag) in the prim's inventory.\ Use the inventory constants INVENTORY_* to specify the type.

Parameters

TypeName
integer type
Energy 10

The Linden Scripting Library — what every SL-compatible grid provides.

More in LSL