1
-- ^pchat Installer
2
-- For more information, see pchat/server.lua: https://p.sc3.io/vZaNXvgtE6
3
4
local path = fs.combine(shell.dir(), "pchat")
5
fs.delete(fs.combine(path, "aes.lua"))
6
fs.delete(fs.combine(path, "sha.lua"))
7
fs.delete(fs.combine(path, "server.lua"))
8
shell.run("pastebin get 7ABQgdKGeP pchat/aes.lua")
9
shell.run("pastebin get jYQNgWKMYy pchat/sha.lua")
10
shell.run("pastebin get vZaNXvgtE6 pchat/server.lua")
11
if not fs.exists(fs.combine(path, "aliases.lua")) then
12
shell.run("pastebin get 4HfC7mrceH pchat/aliases.lua")
13
end
14
15
print("pchat successfully installed!")
16
print("Start the server by running: pchat/server.lua")
17
print("To test pchat, if I (hugeblank) am online, I can usually be found at ^pcjoin 43110 bagel")