List Skip
Runs on: Shared (backend or chatbox overlay).
Drops the first or last Count items of a list and outputs the rest. The original list is not modified. Skipping more items than the list holds returns an empty list.
The mirror of List Take. Chain the two to page through a long list.
Inputs
| Name | Type | Description |
|---|---|---|
list | list | The list to trim. |
count | number | How many items to drop. Defaults to 1. |
Outputs
| Name | Type | Description |
|---|---|---|
result | list | The remaining items, with the same item type as the input. |
Configuration
- Skip:
FirstorLast. The end to drop items from.
Example
To show page 2 of a giveaway list in groups of 10, wire the list into List Skip with Count 10, then into List Take with Count 10. Skip 20 gives page 3, and so on.