Update linkedSend.lua

This commit is contained in:
erius0 2021-01-08 20:48:15 +03:00 committed by GitHub
parent 2a56b2e659
commit 704cce4c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@ local computer = require("computer")
local component = require("component")
local event = require("event")
local shell = require("shell")
local t = component.tunnel
local t = component.tunnel -- подключаем либки
shell.execute("wget -f https://raw.githubusercontent.com/erius0/luaScripts/main/help.txt")
shell.execute("wget -f https://raw.githubusercontent.com/erius0/luaScripts/main/tabletRadar.lua")
shell.execute("clear")
shell.execute("clear") -- обновляем файлы
local instr = "help - вывести все команды\nexit - выйти"
local f = io.open("help.txt", "r")
@ -25,6 +25,8 @@ while true do
print(help)
elseif message == "update" then
computer.shutdown(true)
elseif message == "near" then
shell.execute("tabletRadar.lua")
end
os.sleep(1)
end