Function (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.10

Syntax

[the|a] function [named] %string% [(in|from) %-script%]

Description

Obtain a function by name, which can be executed.

Examples

set {_function} to the function named "myFunction"
run {_function} with arguments 13 and true

View source