This works for me, but not tested in french:
Lua Code:
-- Returns a glyph-link in wanted quality and level
local function RuneGetLink(id,quality,rank)
local color = {19,19,19,19,19,19,19,19,19,115,117,119,121,271,307,365,[0] = 0}
local adder = {1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,[0] = 0}
local level = {5,10,15,20,25,30,35,40,45,50,50,50,50,50,50,50,[0] = 0}
return ('|H1:item:%u:%u:%u:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h'):format(id,(color[rank] + quality * adder[rank]),level[rank])
end
-- Returns the glyph-prefix for the wanted level
local function Split(level)
local basename = zo_strformat('<<t:1>>', GetItemLinkName(RuneGetLink(26580,0,0)))
local basedata = { zo_strsplit(' ', basename) }
local name = zo_strformat('<<t:1>>', GetItemLinkName(RuneGetLink(26580,3,level)))
local namedata = { zo_strsplit(' ', name) }
for j = #namedata, 1, -1 do
for i = #basedata, 1, -1 do
if namedata[j] == basedata[i] then
table.remove(namedata, j)
table.remove(basedata, i)
end end
end
return zo_strformat('<<C:1>>', table.concat(namedata,' '))
end