1. This is my power text. It uses a different color for mana users for visibility purposes. I haven't been able to figure out to do this in lua:
[if HasMP then if IsMana then MP:Short:Color("6495ED") ' | ' MaxMP:Short:Color("6495ED") else MP:Short:PowerColor ' | ' MaxMP:Short:PowerColor end end]
2. This is the name text for my raid frames. It will show AFK or DND or Offline status until I mouseover, at which it will show the name again:
[if not IsMouseOver and (AFK or DND or Offline) then (AFK or DND or Offline) else Name:Truncate(10, nil) end]
If you or anyone else can translate this, it would help me make the transition to lua much easier. I actually have a bunch of other tags to translate but I highlighted these two as I can use what I learn here to figure out other less troublesome tags on my own. Thanks in advance!