summaryrefslogtreecommitdiffstats
path: root/ncat/scripts/hello-luaexec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ncat/scripts/hello-luaexec.lua')
-rw-r--r--ncat/scripts/hello-luaexec.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/ncat/scripts/hello-luaexec.lua b/ncat/scripts/hello-luaexec.lua
new file mode 100644
index 0000000..31bd498
--- /dev/null
+++ b/ncat/scripts/hello-luaexec.lua
@@ -0,0 +1,4 @@
+--This is a --lua-exec "Hello world" example. In order to send to a client,
+--all you need to do is output it to the standard output.
+
+print "Hello, world!"