Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

idnthvn

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by idnthvn

  1. 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

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.