Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if fs.exists("news") then
- shell.run("news")
- print("running news and succes file excist")
- else
- print("Uw computer is niet voorzien van het bestand 'news', misschien helpt een herstart?")
- sleep(3)
- os.reboot()
- end
- monitor = peripheral.wrap("monitor_39")
- w,h=monitor.getSize()
- print(w)
- print(h)
- loadheader()
- loadtext()
- monitor.setBackgroundColour((colours.lime))
- monitor.clear()
- monitor.setCursorPos(1,1)
- term.redirect(peripheral.wrap("monitor_39"))
- paintutils.drawLine(21, 4, 29, 4, colors.red)
- paintutils.drawLine(21, 5, 29, 5, colors.red)
- paintutils.drawLine(21, 6, 29, 6, colors.red)
- term.setCursorPos(23,5)
- monitor.write(header)
- print()
- print()
- print()
- print(text)
- term.restore()
Advertisement
Add Comment
Please, Sign In to add comment