From 942a030afd348ab2e02eac8054b43e3c3a72ea48 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 15 Nov 2021 13:53:59 +0800 Subject: *rename --- Data/BuiltIn/Libraries/lua-addons/scripts/README.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Data/BuiltIn/Libraries/lua-addons/scripts/README.txt (limited to 'Data/BuiltIn/Libraries/lua-addons/scripts/README.txt') diff --git a/Data/BuiltIn/Libraries/lua-addons/scripts/README.txt b/Data/BuiltIn/Libraries/lua-addons/scripts/README.txt new file mode 100644 index 0000000..32844b4 --- /dev/null +++ b/Data/BuiltIn/Libraries/lua-addons/scripts/README.txt @@ -0,0 +1,8 @@ +Lua scripts are similar to the files that are currently run via the //exec windower command. Instead of just executing commands, though, Lua scripts are capable of their own logic and decision making. + +Once a Lua script finishes running, it is unloaded. + +You can run lua scripts via the //lua exec command. For example, if you have a Lua script named test.lua, you would run it by typing: +//lua exec test +or +//lua e test -- cgit v1.1-26-g67d0