(The code would be within the startup program)
Code #1
print(os.time) os.reboot()
or
Code #2
shell.run("time")
os.reboot()
(I have doubts on this one, I think it'll run the program, and then not reboot the computer...Thank you for looking!
Posted 21 September 2012 - 05:10 PM
print(os.time) os.reboot()
shell.run("time")
os.reboot()
(I have doubts on this one, I think it'll run the program, and then not reboot the computer...Posted 21 September 2012 - 05:19 PM
local mon = peripheral.wrap("side") --change to the side the monitor is on.
local function time()
while pM do
local mX,mY = mon.getSize()
local t = os.time()
time = textutils.formatTime(t,false) --change to true for 24 hour format
mon.setCursorPos(mX-9,3)
mon.write(time)
sleep(0)
end
end
It will continually update the minecraft time on the monitor.
0 members, 1 guests, 0 anonymous users