New Number Range Input (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[new] number range input [named] %string% from %number% to %number% [labeled %component%] [with initial [value] %number%] [with step %number%] [with label format %string%] [with width %number%]

Description

Creates a slider for a dialog. The label format is the vanilla format string used to render the current value, defaulting to "options.generic_value" which shows 'label: value'. Step defaults to none, which lets the slider move continuously.

Examples

set {_qty} to new number range input named "qty" from 1 to 64 labeled "Amount" with initial value 1 with step 1

View source