daily pastebin goal
45%
SHARE
TWEET

daemon.lua

a guest Nov 22nd, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local script,delay = ...
  2. if delay == nil then
  3.  delay = 2
  4. end
  5. print("Running " .. script .. " every " .. delay .. " seconds")
  6. while true do
  7.   os.sleep(delay)
  8.   dofile(script)
  9. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top