Meliodas0_0

auto execute timer

Sep 11th, 2019
30
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data