Pandafuchs

Bahnhof Server Runfile

Sep 25th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. os.loadAPI("myApi")
  2. os.loadAPI("bahnhofMonitor")
  3. os.loadAPI("weichenkontrolle")
  4.  
  5.  
  6. if os.getComputerLabel() ~= "Bahnhof1" and os.getComputerLabel() ~= "Bahnhof2" then
  7.     print("Computer wurde nicht benannt...")
  8. end
  9. print("Starte alle Programme...")
  10. parallel.waitForAll( weichenkontrolle.weichenkontrolle, bahnhofMonitor.monitorPainting)
Advertisement
Add Comment
Please, Sign In to add comment