View difference between Paste ID: wC94sWss and YNwhVKRZ
SHOW: | | - or go back to the newest paste.
1
term.setBackgroundColor(colors.lightBlue)
2
term.setTextColor(colors.yellow)
3
term.clear()
4
term.setCursorPos(1,1)
5
print "Blue Bank Installer"
6
term.setCursorPos(3,4)
7-
stat = shell.run("pastebin", "get", "L73wHypz", "Caesar")
7+
stat = shell.run("pastebin", "get", "nsTaqk1Q", "Caesar")
8
print(stat)
9
10
function choice()
11
 term.setCursorPos(3,6)
12-
 write("Server/Admin(N/A)/Client > ")
12+
 print("Server/Admin/Client > ")
13
 d = read()
14
15
 if d == "server" or d == "Server" then
16
  c = "Server"
17
  ser()
18
 elseif d == "admin" or d == "Admin" then
19
  c = "Admin"
20
  ad()
21
 elseif d == "client" or d == "Client" then
22
  c = "Client"
23
  cli()
24
 else
25
  choice()
26
 end
27
end
28
29
function ser()
30-
 stat = shell.run("pastebin","get","VkYYSbR4","server")
30+
 stat = shell.run("pastebin","get","HHy2m94W","server")
31
end
32
33
function ad()
34-
 stat = "Admin Program Coming Soon"
34+
 stat = shell.run("pastebin","get","x7iDDmQa","admin") 
35
end
36
37
function cli()
38-
 stat = shell.run("pastebin","get","bpf4TVGb","client")
38+
 stat = shell.run("pastebin","get","rQPNy7Yy","client")        
39
end
40
41
term.setCursorPos(3,6)
42
print(stat)
43
44
45
choice()