All Commands
All Reference
Commands
LOOKUP
Lookup an item within a List of items.
This will not locate a UDB List Object within a List. Only Items.
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | item | String | Item, or list of items, to Look for | |
2 | list | String | List to Look in eg.[1:Yes,0:No] It doesn't matter if the list is enclosed in square brackets or not. |
|
3 | list_type | 0 | Integer | The type of list. 0 = UDB list [a:1,b:2] |
4 | default | String | The default value to use if nothing is found |