summaryrefslogtreecommitdiff
path: root/mesecons_luacontroller/help/terminal.txt
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2022-01-02 18:42:08 -0600
committercheapie <no-email-for-you@example.com>2022-01-02 18:42:08 -0600
commit243a8063ddbb107ab191aa333cc6cdc85701f410 (patch)
tree848d72cd8b91cc9d259f75196bfd577bd8e88e66 /mesecons_luacontroller/help/terminal.txt
parent648f77bd43f1fbe59e6d655e57d96e2647a43b68 (diff)
downloadmesecons-243a8063ddbb107ab191aa333cc6cdc85701f410.tar
mesecons-243a8063ddbb107ab191aa333cc6cdc85701f410.tar.gz
mesecons-243a8063ddbb107ab191aa333cc6cdc85701f410.tar.bz2
mesecons-243a8063ddbb107ab191aa333cc6cdc85701f410.tar.xz
mesecons-243a8063ddbb107ab191aa333cc6cdc85701f410.zip
Add Luacontroller examples/help system
Diffstat (limited to 'mesecons_luacontroller/help/terminal.txt')
-rw-r--r--mesecons_luacontroller/help/terminal.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/mesecons_luacontroller/help/terminal.txt b/mesecons_luacontroller/help/terminal.txt
new file mode 100644
index 0000000..9b23eed
--- /dev/null
+++ b/mesecons_luacontroller/help/terminal.txt
@@ -0,0 +1,18 @@
+Terminal I/O
+============
+
+Simple text I/O is available on the "terminal" tab.
+
+To send text to the Luacontroller, enter the message into the field provided, then press enter or click the send button.
+An event will occur containing the text entered.
+Example:
+{
+ type = "terminal",
+ text = "apt moo"
+}
+
+To display a message on the terminal, use the print() function.
+Example:
+print("Have you mooed today?")
+
+Errors and warnings are also displayed on the terminal.