Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local shell = require("shell")
- local os = require("os")
- while true do
- local p, e = shell.execute("/usr/bin/ircChatbox.lua")
- print(e)
- os.sleep(5)
- if not p then
- if e:find("UPDATENOW") then
- local pp, ee = shell.execute("pastebin get -f HNdSi9aG /usr/bin/ircChatbox.lua")
- if pp then
- else
- print("Failed to update")
- error(ee)
- end
- else
- print("ERRRRRROORRRRR")
- os.sleep(5)
- error(e)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement