local computer = require("computer") local component = require("component") local event = require("event") local term = require("term") local t = component.tunnel term.write("wget -f https://raw.githubusercontent.com/erius0/luaScripts/main/help.txt") term.write("wget -f https://github.com/erius0/luaScripts/blob/main/tabletRadar") local instr = "help - вывести все команды\nexit - выйти" local f = io.open("help.txt", "r") local help = f:read("*all") f:close() print(instr) while true do io.write("msg: ") _, message = pcall(io.read) t.send(message) if message == "exit" then break elseif message == "help" then print(help) elseif message == "update" then computer.shutdown(true) end os.sleep(1) end