SHARE
TWEET

startup.lua

a guest Jul 17th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PROGRAM='Mine'
  2. POSOTION=1
  3. if fs.exists('settings/last') then
  4.     fh=io.open('settings/last')
  5.     PROGRAM=fh:read()
  6.     POSITION=fh:read()
  7.     fh:close()
  8. end
  9.  
  10. print(PROGRAM)
  11. print(POSITION)
  12.  
  13. shell.run(PROGRAM, tonumber(POSITION))
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top