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

Monitor Issue

Started by triger545, 24 August 2012 - 04:47 PM
triger545 #1
Posted 24 August 2012 - 06:47 PM
I am making a movie theater for the server I play on. I have a code on the startup that broadcasts a welcome message with a big textscale. When I create a program called reset (mean't to align the cursor back and set the text scale to 1) I get a message that says:
Bios:206: [string "start"]:3: '=' expected. Here is my code:

mon = peripheral.wrap("right")
mon.clear
mon.setTextScale(1)
mon.setCursorPos(1,1)
monitor right secret/alongtimeago
OmegaVest #2
Posted 24 August 2012 - 06:50 PM
You forgot the parentheses.


mon.clear()

Also, you will want to do


shell.run("monitor", "right", "secret/alongtimeago")

And I can't remember if that slash needs an escape character.
triger545 #3
Posted 24 August 2012 - 10:43 PM
Ok it works. Thank you!