Update linkedSend.lua
This commit is contained in:
parent
2a56b2e659
commit
704cce4c34
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue