SDPhantom,
thanks so much it is really what I am looking for.
I think the subject of the thread should be "Is really possible that I am so blind or dumb ?"
I really have search here and there for hours how to do this and I dont realize I had the solution so near.
The problem was that I didn't know anything about affixID and so I was a little bit confused. But once I investigated there, everything is became easy
and the code in the addon is now:
Lua Code:
if t.name == C_ChallengeMode.GetAffixInfo(10) then localpos = 3 else localpos = 4 end
Now it should works as expected.
Thanks so much again.