summaryrefslogtreecommitdiff
path: root/doc/pl/autogen/user/lua_commands.adoc
blob: 7234cab3226fc33c74e9701df727941ea2b6fa4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_lua_lua]]
* `+lua+`: list/load/unload skrypt

----
/lua  list|listfull [<name>]
      load [-q] <filename>
      autoload
      reload|unload [-q] [<name>]
      version

    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)
      -q: quiet mode: do not display messages
 version: display the version of interpreter used

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