I have tried a few attempts but have gotten nothing working. Nothing even close…
This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
Building Sign?
Started by Karinth, 22 July 2012 - 09:41 AMPosted 22 July 2012 - 11:41 AM
I do not know LUA and I do not need something hard ( I hope it is not hard) I just need a program or code that writes something on a monitor in full size no matter the monitor size. AKA 6x4, 2x2, 10x10 and the message is in full screen no matter which one it is on. Thank you so much.
I have tried a few attempts but have gotten nothing working. Nothing even close…
I have tried a few attempts but have gotten nothing working. Nothing even close…
Posted 22 July 2012 - 12:07 PM
yourmon = peripheral.wrap(youside) -- replace yourside with the side of the monitor!
yourmon.setTextScale(5)
term.redirect(yourmon)
print("TEST")
term.restore()
Posted 22 July 2012 - 12:20 PM
It will make the size change no matter the size? Also can it be centered.
Posted 22 July 2012 - 01:21 PM
I tried your code and it keeps giving me errors.
Posted 22 July 2012 - 01:27 PM
which error?
Posted 22 July 2012 - 02:09 PM
Lemme run it again
bios:335: bad argument: String expected : got nil
bios:335: bad argument: String expected : got nil
Posted 22 July 2012 - 02:30 PM
have you changed "yourside" into the side of the monitor?
Posted 22 July 2012 - 02:32 PM
Aye
Posted 22 July 2012 - 06:49 PM
Anybody? I have tried for a few hours to troubleshoot this issue with no avail.
Posted 22 July 2012 - 07:27 PM
whats exactly the error?
Posted 22 July 2012 - 07:30 PM
bios:335: bad argument: String expected : got nil that is it exactly.
Posted 22 July 2012 - 07:35 PM
I don't understand.. this error means that you haven't changed yourside with the side of the monitor!
e.g.
e.g.
yourmon = peripheral.wrap("top")
Dont forget the ""Posted 23 July 2012 - 10:57 AM
Now it works but the text, if I write "K Corp." only takes up a 1x3 monitor area. I want a code that makes it center and full screen no matter if it is 1 x 3 or 6 x 20.
Posted 24 July 2012 - 10:55 AM
So I decided to try it out on a 5x4 monitor but it just is in the upper left and not very big.