Script Name (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.0

Syntax

[the] script[['s] name]

Description

Holds the current script's name (the file name without '.sk').

Examples

on script load:
	set {running::%script%} to true
on script unload:
	set {running::%script%} to false

View source