Skip to content

globals

JoeStrout edited this page Apr 28, 2026 · 1 revision

Global Intrinsics

Name Parameters Purpose
import libname="" Import a MiniScript library by name, searching MS_IMPORT_PATH
exit resultCode Exit the program with the given result code
env Get a map of all environment variables
run path="" Load and run a MiniScript file in the current interpreter context
resourceCounts Get a map of currently loaded resource counts by type (Image, Texture, Font, etc.)

Clone this wiki locally