Advertisement
mr_arte

fahrmanager.lua

May 12th, 2022
661
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- ##### Hauptprogramm
  2.  
  3. while true do
  4.     if fs.exists("disk/") then
  5.         data = fs.list("disk/*.lua")
  6.         prog = data[1]
  7.         print(prog)
  8.         shell.run(prog)
  9.         sleep(0.1)
  10.         disk.eject("top")
  11.     end
  12.  sleep(0.5)
  13. end
Advertisement
RAW Paste Data Copied
Advertisement