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.
Constants
44 starting with “L” of 934 — the named values scripts use for flags, permissions and change events.
| Constant | Type | Value |
|---|---|---|
| LAND_LARGE_BRUSH | integer | 3 |
| LAND_LEVEL | integer | 0 |
| LAND_LOWER | integer | 2 |
| LAND_MEDIUM_BRUSH | integer | 2 |
| LAND_NOISE | integer | 4 |
| LAND_RAISE | integer | 1 |
| LAND_REVERT | integer | 5 |
| LAND_SMALL_BRUSH | integer | 1 |
| LAND_SMOOTH | integer | 3 |
| LINK_ALL_CHILDREN | integer | -3 |
| LINK_ALL_OTHERS | integer | -2 |
| LINK_ROOT | integer | 1 |
| LINK_SET | integer | -1 |
| LINK_THIS | integer | -4 |
| LINKSETDATA_DELETE | integer | 2 |
| LINKSETDATA_EMEMORY | integer | 1 |
| LINKSETDATA_ENOKEY | integer | 2 |
| LINKSETDATA_EPROTECTED | integer | 3 |
| LINKSETDATA_MULTIDELETE | integer | 3 |
| LINKSETDATA_NOTFOUND | integer | 4 |
| LINKSETDATA_NOUPDATE | integer | 5 |
| LINKSETDATA_OK | integer | 0 |
| LINKSETDATA_RESET | integer | 0 |
| LINKSETDATA_UPDATE | integer | 1 |
| LIST_STAT_GEOMETRIC_MEAN | integer | 9 |
| LIST_STAT_HARMONIC_MEAN | integer | 100 |
| LIST_STAT_MAX | integer | 2 |
| LIST_STAT_MEAN | integer | 3 |
| LIST_STAT_MEDIAN | integer | 4 |
| LIST_STAT_MIN | integer | 1 |
| LIST_STAT_NUM_COUNT | integer | 8 |
| LIST_STAT_RANGE | integer | 0 |
| LIST_STAT_STD_DEV | integer | 5 |
| LIST_STAT_SUM | integer | 6 |
| LIST_STAT_SUM_SQUARES | integer | 7 |
| LOOP | integer | 2 |
| LSL_STATUS_BOUNDS_ERROR | LSLInteger | 1002 |
| LSL_STATUS_INTERNAL_ERROR | LSLInteger | 1999 |
| LSL_STATUS_MALFORMED_PARAMS | LSLInteger | 1000 |
| LSL_STATUS_NOT_FOUND | LSLInteger | 1003 |
| LSL_STATUS_NOT_SUPPORTED | LSLInteger | 1004 |
| LSL_STATUS_OK | LSLInteger | 0 |
| LSL_STATUS_TYPE_MISMATCH | LSLInteger | 1001 |
| LSL_STATUS_WHITELIST_FAILED | LSLInteger | 2001 |