upload to git

This commit is contained in:
UndeadMaelys
2022-03-22 16:03:00 +01:00
commit 8b4f32bc9f
9 changed files with 659 additions and 0 deletions

21
output_word.lua Normal file
View File

@@ -0,0 +1,21 @@
return function(tbl)
for i=1, #tbl do
local this_number = tbl[i][1]
local this_word = tbl[i][2]
local text = colorTextBackground(COLOR.Black, "#")
local length = string.len(#words) - string.len(this_number)
while length > 0 do
text = text .. colorTextBackground(COLOR.Black, "0")
length = length - 1
end
text = text .. colorTextBackground(COLOR.Black, this_number .. " ")
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.HighBlue,this_word[1]))
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.Gray,this_word[3]))
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.Green,this_word[2]))
print(text)
text = ""
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.Blue,this_word[4]))
text = text .. colorTextBackground(COLOR.Black,colorText(COLOR.Blue,this_word[5]))
end
end