From 704cce4c343149b0ab879ba3726c8fd2e14b261a Mon Sep 17 00:00:00 2001 From: erius0 <63460770+erius0@users.noreply.github.com> Date: Fri, 8 Jan 2021 20:48:15 +0300 Subject: [PATCH] Update linkedSend.lua --- linkedSend.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/linkedSend.lua b/linkedSend.lua index 1996372..5851491 100644 --- a/linkedSend.lua +++ b/linkedSend.lua @@ -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