Input (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.2-dev36, 2.9.0 (input index)
Syntax
inputDescription
Represents the input in a filter expression or sort effect. For example, if you ran 'broadcast "something" and "something else" where [input is "something"] the condition would be checked twice, using "something" and "something else" as the inputs. The 'input index' pattern can be used when acting on a variable to access the index of the input.
Examples
send "congrats on being staff!" to all players where [input has permission "staff"]
sort {_list::*} based on length of input index