ok, this is another Krystian's script rework
original thread
http://gamingonstero...-script-loader/
Preview:
image is copy paste from original thread
Feature:
- auto load all the scripts in the Scripts folder except testscript1.lua, testscript2.lua and testscript3.lua, no more edit require XXX in testscript1.lua
- custom turn the script ON/OFF in game menu.
Download:
testscript3.lua
https://github.com/i...testscript3.lua
Requirement:
DLib
http://gamingonstero...ry-dlib-rework/
Usage:
Put the testscript3.lua in the Scripts folder, and put the scripts you want to load in the Scripts folder too.
In game, press shift and click simple script loader -> All scripts -> turn ON the script you want to load then F6F6.
You can check the script loaded or not in simple script loader -> Loaded scripts.
For Dev:
Here are some tips to make your script support this loader:
- put all your require lib in your script, even inspired lib.
- if your script is a champion script, make sure add this line at the start of your script.
if GetObjectName(GetMyHero()) ~= "your hero name" then return end
Change log:
2015.09.02: update version to 7
- prevent potential error
2015.08.29: update version to 6
- add error message window when fail load script
- auto close all "black window" when load this script
Edited by ilovesona, 02 September 2015 - 07:15 .