Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor = peripheral.find("monitor")
- --term.redirect(monitor)
- local adNumber = 1
- local adName = "nil"
- local adMod = 0
- local adTable = {
- function() return "Pour un apport d'energie supplementaire sur les machines IC2, installez les rotors en haut des mats eoliens a l'arriere du batiment. Gare a la chute !" end,
- function() return "Il est "..textutils.formatTime( os.time(),true)..", le serveur a vecu "..os.day().." jours." end,
- }
- while true do
- for adNumber=1,#adTable do
- term.clear()
- term.setCursorPos(1,1)
- print( adTable[adNumber]() )
- os.sleep(1)
- end
- end
Add Comment
Please, Sign In to add comment