League Libs Script


SUBMITTED BY: Guest

DATE: June 12, 2015, 4:31 p.m.

FORMAT: Text only

SIZE: 897 Bytes

HITS: 1294

  1. Require - A simple library downloader
  2. Introduction:
  3. If you want to use this class you need to put this at the beginning of you script.
  4. Example:
  5. -------------------------------------
  6. if player.charName ~= "Brand" then return end
  7. require "SourceLib"
  8. local libDownloader = Require("Brand script")
  9. libDownloader:Add("VPrediction", "https://bitbucket.org/honda7/bol/raw/master/Common/VPrediction.lua")
  10. libDownloader:Add("SOW", "https://bitbucket.org/honda7/bol/raw/master/Common/SOW.lua")
  11. libDownloader:Check()
  12. if libDownloader.downloadNeeded then return end
  13. -------------------------------------
  14. Functions:
  15. Require(myName)
  16. Members:
  17. Require.downloadNeeded
  18. Methods:
  19. Require:Add(name, url)
  20. Require:Check()

comments powered by Disqus