SHARE
TWEET

SimpleSimSoft_API

Simlor_GER May 31st, 2016 (edited) 311 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --SimpleSimSoft_API by SimlorLP
  2.  
  3.  
  4. function Clear()
  5.  term.clear()
  6.  term.setCursorPos(1,1)
  7. end
  8. --Example: Clear()
  9.  
  10. function CP(x,y)
  11.  term.setCursorPos(x,y)
  12. end
  13. --Example: CP(1,1)
  14.  
  15. function TC(color)
  16.  term.setTextColor(color)
  17. end
  18. --Example: TC(32768)
  19.  
  20. function BC(color)
  21.  term.setBackgroundColor(color)
  22. end
  23. --Example: BC(32)
  24.  
  25. function Download(PastebinCode, Path)
  26.  local datei = http.get("http://pastebin.com/raw/"..PastebinCode)
  27.  datei = datei.readAll()
  28.  
  29.  local file = fs.open(Path, "w")
  30.  file.write(datei)
  31.  file.close()
  32. end
  33. --Example: Download("m9ZVhHD4", "Setup/SimSoft/Installer")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top