View difference between Paste ID: yR4AbLpJ and BH1NrcV7
SHOW: | | - or go back to the newest paste.
1
local comp = require("component")
2
local gpu = comp.gpu
3
local W,H = gpu.getResolution()
4
local data = {}
5
local data2 = {}
6
7
gpu.fill(1,1,W,H," ")
8
9
table.insert(data,"LLV0gcwt")
10
table.insert(data,"94FtnuB9")
11
table.insert(data,"NfxJqh33")
12
table.insert(data,"ayaaa7aS")
13
14
table.insert(data2,"helprs.lua")
15
table.insert(data2,"settable.lua")
16
table.insert(data2,"rscrafter.lua")
17
table.insert(data2,"items2.txt")
18
19
gpu.set(1,1,"Do you wanna download data to use?")
20
21
local userInput = io.read()
22
23
if(UserInput=="Yes" or "yes") then
24
os.execute("mkdir rsstock")
25
print("Downloading files")
26
27
for i,stack in ipairs(data) do
28
os.execute("pastebin get "..stack.." rsstock/"..data2[i])
29
30
end
31
32-
os.execute("helprs.lua")
32+