summaryrefslogtreecommitdiff
path: root/Data/DefaultContent/Libraries/addons/scripts/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Data/DefaultContent/Libraries/addons/scripts/README.txt')
-rw-r--r--Data/DefaultContent/Libraries/addons/scripts/README.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Data/DefaultContent/Libraries/addons/scripts/README.txt b/Data/DefaultContent/Libraries/addons/scripts/README.txt
new file mode 100644
index 0000000..32844b4
--- /dev/null
+++ b/Data/DefaultContent/Libraries/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