Skip to main content

/script load

/script load <name>
/script load /path/to/script.lua
Load a script by name (searches autoload and available dirs) or by full path. Supports .lua and .py files.

/script unload

/script unload <name>
Unload a script and remove its event handlers and commands.

/script reload

/script reload <name>
Reload a script from disk (useful during development).

/script list

/script list
Show loaded scripts and any custom commands they registered.

Script Command Help

Scripts can register commands with help text:
flume.command.register("greet", function(args)
    flume.buffer.print("", "", "Hello " .. args)
end, "Greet someone by name")
Users can then type /help greet to see the help text.