added lessons!

This commit is contained in:
UndeadMaelys
2022-03-25 10:46:30 +01:00
parent 93da415c03
commit 95c0ce5062
7 changed files with 204 additions and 9 deletions

View File

@@ -25,10 +25,27 @@ COLOR = Enum {
"White"
}
EFFECT = Enum {
"Normal",
"Bold",
"Dim",
"Italic",
"Underline",
"BlinkSlow",
"BlinkFast",
"Invert",
"Conceal",
"CrossedOut"
}
function makeTextEffect(Effect, Text)
return "\027["..tostring(Effect-1).."m"..Text.."\027[0;m"
end
function colorText(Color, Text)
return "\027[38;5;"..tostring(Color-1).."m"..Text.."\027[0;m"
return "\027[38;5;"..tostring(Color-1).."m"..Text.."\027[0;m"
end
function colorTextBackground(Color, Text)
return "\027[48;5;"..tostring(Color-1).."m"..Text.."\027[0;m"
end
return "\027[48;5;"..tostring(Color-1).."m"..Text.."\027[0;m"
end