This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
aroeira's profile picture

What can I do for the monitor do not clean when I restart my server ?

Started by aroeira, 28 August 2012 - 02:29 AM
aroeira #1
Posted 28 August 2012 - 04:29 AM
What can I do for the monitor do not clean when I restart my server ?
I am using this code:


mon=peripheral.wrap("top")
mon.clear()
mon.setCursorPos(1,1)
mon.write("Frist line…")
mon.setCursorPos(2,2)
mon.write("Second line…")

My server restart all day automatic and I need open the computer end execute this program again.
Kingdaro #2
Posted 28 August 2012 - 05:17 AM
I don't think there's a way to automagically start programs on a server start, but if you put it under a program named "startup" it'll start the program when you turn the computer on.