Okay, so i am a complete NEWB with lua. Never programmed in my life.
I have watched the tutorials and none of which help me at all.
I want to basically copy the idea of ComputerCrafts
term.setTextColor()
where i can set what i am printing/writing on the screen in color.
i can do
local term = require("term")
local component = require("component")
local gpu = compontent.gpu
term.clear()
print(gpu.serForeground(0x2E86C1) .. "Test")
This changes my entire text to a blue. rather then just color the text i want in that line.
Any help would be great. Maybe this can be used for beginners to simply be able to make a Rules/Info page on their Server (Which is the idea i am after)
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Okay, so i am a complete NEWB with lua. Never programmed in my life.
I have watched the tutorials and none of which help me at all.
I want to basically copy the idea of ComputerCrafts
term.setTextColor()
where i can set what i am printing/writing on the screen in color.
i can do
local term = require("term") local component = require("component") local gpu = compontent.gpu term.clear() print(gpu.serForeground(0x2E86C1) .. "Test")
This changes my entire text to a blue. rather then just color the text i want in that line.
Any help would be great. Maybe this can be used for beginners to simply be able to make a Rules/Info page on their Server (Which is the idea i am after)
Sorry for the NEWB questions.
Thank you
Link to post
Share on other sites