mirror of
https://github.com/joe7575/techpack.git
synced 2025-03-27 04:12:34 +01:00
v2.01 SaferLua Terminal to be connected to the SaferLua Controller
This commit is contained in:
@ -20,7 +20,7 @@ Controller to the Terminal.
|
|||||||
|
|
||||||
Commands can have up to 80 characters.
|
Commands can have up to 80 characters.
|
||||||
Local commands:
|
Local commands:
|
||||||
- cls = clear screen
|
- clear = clear screen
|
||||||
- help = this message
|
- help = this message
|
||||||
- pub = switch to public use
|
- pub = switch to public use
|
||||||
- priv = switch to private use
|
- priv = switch to private use
|
||||||
@ -64,7 +64,7 @@ local function command(pos, cmnd, player)
|
|||||||
if cmnd then
|
if cmnd then
|
||||||
cmnd = cmnd:sub(1,80)
|
cmnd = cmnd:sub(1,80)
|
||||||
|
|
||||||
if cmnd == "cls" then
|
if cmnd == "clear" then
|
||||||
meta:set_string("output", "")
|
meta:set_string("output", "")
|
||||||
meta:set_string("formspec", formspec2(meta))
|
meta:set_string("formspec", formspec2(meta))
|
||||||
elseif cmnd == "help" then
|
elseif cmnd == "help" then
|
||||||
|
Reference in New Issue
Block a user