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

Automatically Start Question

Started by ninjastricken, 24 March 2013 - 02:48 PM
ninjastricken #1
Posted 24 March 2013 - 03:48 PM
How do I make this automatically start http://pastebin.com/pZnrkNpL
theoriginalbit #2
Posted 24 March 2013 - 03:50 PM
put it in a file called startup on the computer.
ninjastricken #3
Posted 24 March 2013 - 04:12 PM
Its on a server and i dont know how to
theoriginalbit #4
Posted 24 March 2013 - 04:13 PM
type this into the computer.

pastebin get pZnrkNpL startup
ninjastricken #5
Posted 24 March 2013 - 04:19 PM
OK so how do i get it to show up on the screen above it
theoriginalbit #6
Posted 24 March 2013 - 04:22 PM
add this to the very top of the code

local monitor = peripheral.wrap('top')
term.redirect( monitor )
this tells the terminal that now everytime you use 'term.' you want it to go to the monitor

then at the very bottom of the code

term.restore()
this tells the terminal that everything should now be printed back on the normal terminal screen.
ninjastricken #7
Posted 24 March 2013 - 04:39 PM
how do i change the size of the font? please
theoriginalbit #8
Posted 24 March 2013 - 04:53 PM
after the code i told you to add to the start do this


monitor.setTextScale( <num> )
where <num> is a number from 0.5 to 5 (iirc)
ninjastricken #9
Posted 25 March 2013 - 04:18 AM
thank you