Result (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.10
Syntax
[the] result[s] of [running|executing] %executable% [with arg[ument]s %-objects%]Description
Runs something (like a function) and returns its result. If the thing is expected to return multiple values, use 'results' instead of 'result'.
Examples
set {_function} to the function named "myFunction"
set {_result} to the result of {_function}
set {_list::*} to the results of {_function}
set {_result} to the result of {_function} with arguments 13 and true