Advertisement
da404lewzer

ComputerCraft market-update function

Dec 3rd, 2012
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local key = "mypublickey"
  2. function updateAllTheThings()
  3.     shell.run("market get FILE_ID1 file_1 "..key.." y")
  4.     shell.run("market get FILE_ID2 file_2 "..key.." y")
  5.     shell.run("market get FILE_ID3 file_3 "..key.." y")
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement