The screen doesn't automatically clear itself. So, to clear the screen, type
digiline_send("<same thing as before>", "clear")
So, to clear the screen first and then add text, do this:
Code: Select all
digiline_send("<same thing as before>", "clear")
digiline_send("<same thing as before>", "Some Text")
Your luacontroller might look like this now:
Something nice is that the screen wraps around once it hits the edge of the screen. So, if you type
digiline_send("<same thing as before>", "Some TextMore Text")
it would give you this:
This mod automatically goes to the next line once you reach the end of a the screen. But what if you want to go to a new line anywhere?
\n will insert a new line. So, it might be something like this:
digiline_send("<same thing as before>", "Text \nOn \nFour \nLines
This gives you this:
If you want to turn the whole screen on, type
digiline_send("<same thing as before>", "allon")
It will now look like this:
Now then, it's time for colors! To change the color at any time, type a slash plus the color number/letter. So this will change the color to blue:
digiline_send("<same thing as before>", "/8Blue Text")
So you get a screen that looks like this:
Of course,
/8 is only one color. You can do
/0 through
/9, as well as
/a through
/r. So, the whole color chart looks like this (scroll down to see whites and grays):
Code: Select all
/0 = Red /c = Dark Red
/1 = Orange /d = Dark Orange
/2 = Yellow /e = Dark Yellow
/3 = Lime /f = Dark Lime
/4 = Green /g = Dark Green
/5 = Aqua /h = Dark Aqua
/6 = Cyan /i = Dark Cyan
/7 = Sky Blue /j = Dark Sky Blue
/8 = Blue /k = Dark Blue
/9 = Violet /l = Dark Violet
/a = Magenta /m = Dark Magenta
/b = Red Violet /n = Dark Red Violet
/o = White
/p = Light Gray
/q = Medium Gray
/r = Dark Gray
If you change the color, the screen will keep using that color until you change it to something else, even after you clear it. So, all the colors, in order, look like this: