Meliodas0_0

auto execute timer

Sep 11th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. string AutoExecute_File = File.ReadAllText("./Settings./" + "AutoExecute.txt");
  2.  
  3. if (api.isAPIAttached())
  4. {
  5. api.SendLimitedLuaScript(AutoExecute_File); //Executes the lua/luac contents of the file
  6. AutoExecute_Timer.Enabled = false; //Disables the timer after executing
  7. }
Add Comment
Please, Sign In to add comment