
Список изменений
Import your library!
1.1 - New function, setrepo(creator, repo, Scheck, branch).
Usage: Set your own repository! Unfortunately, you must set it in every different computer. Maybe I can figure out a way to apply the change to every computer, who knows?
1.2 - Inside your library:
Create "vers" variable and write the library's version. /Ex: vers = "1.0x"/
loader.lua changes
2.1 - New function, set(var, bool).
Usage: Set a boolean state for an existing or non-existing variable.
2.2 - New function, loadedlibs().
Usage: Show every currently loaded library.
Using the functions
3.1 - setrepo(creator, repo, Scheck, branch) sets a new repository for import().
setrepo("userx", "libx") -- Maps every file inside the repository.
----------------------------------
setrepo("userx", "libx", true) -- Maps every file that ends in "S" inside the repository.
----------------------------------
setrepo("userx", "libx", true, "alt") -- Maps every file that ends in "S" inside the branch "alt".
----------------------------------
setrepo() -- Back to the default repository.
3.2 - set(var, bool) creates or modifies a boolean.
set("random", true)
> defined to true
print(random)
> true
> 1
To mention:
Use rootcmds() to see every root command explanation.
Use helplib([lib]) to see every command inside a library.
