1
0
mirror of https://github.com/kepler155c/opus synced 2024-06-28 08:03:20 +00:00
opus/sys/apps/cshell.lua
kepler155c@gmail.com e2508c9037 cleanup
2019-03-12 20:04:28 -04:00

18 lines
334 B
Lua

local read = _G.read
local shell = _ENV.shell
if not _G.http.websocket then
error('Requires CC: Tweaked')
end
if not _G.cloud_catcher then
print('Visit https://cloud-catcher.squiddev.cc')
print('Paste key: ')
local key = read()
if #key == 0 then
return
end
print('Connecting...')
shell.run('cloud ' .. key)
end