GetItem
Reads one item of the filtered list, like the #Find… variables after finditem.
Parameters
Section titled “Parameters”| Parameter | Type | Meaning |
|---|---|---|
index |
number | Position in the list, counting from 0. |
Returns
Section titled “Returns”In this order, from stack position 1:
| Value | Type | Meaning |
|---|---|---|
id |
number | Item or character ID. |
type |
number | Its type. |
kind |
number | 0 in a container, 1 on the ground, -1 none. |
container |
number | Container ID; 0 on the ground. |
x |
number | X position: in the world, or inside the container gump. |
y |
number | Y position. |
z |
number | Height. |
stack |
number | How many in the stack; 0 for characters. |
notoriety |
number | As #FindRep. |
colour |
number | Colour (hue). |