SplitScript reference / Language / setup
setup
lifecycle block
setup { ... }
Initializes one loaded script instance.
Runs once from the module start entry point, after globals and settings are initialized and refreshed. The autosplitting runtime defers that entry point until the beginning of the first interruptible update. Settings and process-independent operations are available, but process providers, current, old, and suspension are not.
Examples
Use setup
setup {
print("Autosplitter loaded")
}