Require - A simple library downloader
Introduction:
If you want to use this class you need to put this at the beginning of you script.
Example:
-------------------------------------
if player.charName ~= "Brand" then return end
require "SourceLib"
local libDownloader = Require("Brand script")
libDownloader:Add("VPrediction", "https://bitbucket.org/honda7/bol/raw/master/Common/VPrediction.lua")
libDownloader:Add("SOW", "https://bitbucket.org/honda7/bol/raw/master/Common/SOW.lua")
libDownloader:Check()
if libDownloader.downloadNeeded then return end
-------------------------------------
Functions:
Require(myName)
Members:
Require.downloadNeeded
Methods:
Require:Add(name, url)
Require:Check()