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