summaryrefslogtreecommitdiff
path: root/mesecons_luacontroller/help/terminal.txt
blob: 9b23eed14609739581578765e5969d4d75e05a15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.