Advertisement
Vincent38190

ExecSetup

May 21st, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. local side = {"left", "right", "back", "front", "top", "bottom"}
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. for i=1,6 do
  5. if peripheral.getType(side[i]) == "drive" and disk.isPresent(side[i]) then
  6. shell.run("pastebin","get","rWX7Fi3v","/disk/startup")
  7. shell.run("label","set",side[i],"FsocietyInstaller")
  8. disk.eject(side[i])
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement