Paginated List (Expression) — skript-gui

Addon: skript-gui · Category: Expression · Since: 1.1.0

Syntax

page[s] %numbers% of %objects% with %number% (lines|values)

Description

This expression is used to interpret a list of values as pages. For example, for a list with 20 values, the second page (assuming 10 items per page) would contain elements 11 through 20.

Examples

# The second set of 36 items in the {_items::*} list.
# This represents the elements from indices 37 to 72.
set {_pages::2::*} to page 2 of {_items::*} with 36 values

View source