GUI.misc.Cachewindow:echo("\n CACHE\n\n")
name_align = 14
num_align = 10
local mycache = {}
for k,v in pairs(precache) do
name_len = (name_align - string.len(k))
if table.isMember(inkcache, k) then
table.insert(mycache, k .. " "..string.rep(" ", name_len) .."[<pink>" .. v .. "<white>]")
elseif table.isMember(incache, k) then
if v < 500 then
table.insert(mycache, k .. " "..string.rep(" ", name_len) .."[<red>" .. v.. "<white>]")
else
table.insert(mycache, k .. " "..string.rep(" ", name_len) .."[<green>" .. v .. "<white>]")
end
end
end
for i=1,#mycache,1 do
GUI.misc.Cachewindow:cecho("<white> " .. mycache[i])
GUI.misc.Cachewindow:echo("\n ")
GUI.misc.Cachewindow:echo(string.rep(" ", (13-#mycache[i])))
end
end
is the code I'm using for the picture... How would I change it soo, instead of straight down, it sides neatly side by side? maybe 2/3 width so it like
moss [100] bloodroot [100] goldenseal [100]
kelp [10]
etc
I been trying to change this for months but had no luck and unsure where to find the correct information