summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user/lua_commands.txt
blob: ac24f49db42ed0c9d4ad8b1037275281cebc99eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[[command_lua_lua]]
[command]*`lua`* list/load/unload scripts::
........................................
/lua  list|listfull [<name>]
      load <filename>
      autoload
      reload|unload [<name>]

    list: list loaded scripts
listfull: list loaded scripts (verbose)
    load: load a script
autoload: load all scripts in "autoload" directory
  reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
  unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
    name: a script name (name used in call to "register" function)

Without argument, this command lists all loaded scripts.
........................................