Posted 19 September 2012 - 05:12 AM
ok im new to computer craft, and barely know html…so today i spent..shamed to admit….3 hours working on a code…and not even a hard code.
i just kept getting errors, then figured out what the number next to the error meant, (the line it was on..DOH!) and removed those lines eventually.
anyway heres my code
–i named it a-1 with "edit a-1" which i guess creates the program if it isnt already one?
mon = peripheral.wrap("right")
mon.setTextScale(3)
term.redirect(mon)
print("—————") –believe it or not thats is the correct amount of dashes–
print(" NOW ENTERING ") — each print has 15 characters–
print(" 'THE LABS' ")
print("—————")
term.restore()
now the code works, to run it on the monitor i use
monitor (side) (program) (arguments)
monitor right a-1 (i dont know what to put here, but it works when i dont write anything)
when i run the program it shows up on the monitor, but when i leave the server, and come back i have to run the program again.
how do i make it stay on the monitor permanently, or until i remove it?
and if i cant make it stay how do i make a "lock" for the computer, so only i can access it and put the program up, or people with admin/moderator rights?
i really dont know how to give a user admin/moderator rights, but when i do, it would work..probably..maybe..i have no freakin clue!
i just kept getting errors, then figured out what the number next to the error meant, (the line it was on..DOH!) and removed those lines eventually.
anyway heres my code
–i named it a-1 with "edit a-1" which i guess creates the program if it isnt already one?
mon = peripheral.wrap("right")
mon.setTextScale(3)
term.redirect(mon)
print("—————") –believe it or not thats is the correct amount of dashes–
print(" NOW ENTERING ") — each print has 15 characters–
print(" 'THE LABS' ")
print("—————")
term.restore()
now the code works, to run it on the monitor i use
monitor (side) (program) (arguments)
monitor right a-1 (i dont know what to put here, but it works when i dont write anything)
when i run the program it shows up on the monitor, but when i leave the server, and come back i have to run the program again.
how do i make it stay on the monitor permanently, or until i remove it?
and if i cant make it stay how do i make a "lock" for the computer, so only i can access it and put the program up, or people with admin/moderator rights?
i really dont know how to give a user admin/moderator rights, but when i do, it would work..probably..maybe..i have no freakin clue!