[IsPlayer ? [CanAttack ? Name:HostileColor ! Name:ClassColor] ! [IsPet ? [Status ? Name:StatusColor ! [CanAttack ? Name:HostileColor ! Name] ] ! [Status ? Name:StatusColor ! Name:HostileColor] ] ][Realm:Prepend(-)] [Target ? Text(:)] [IsPlayer#mouseovertarget ? [IsUnit#player(MouseOverTarget) ? Text(YOU):Bracket:Fuchsia ! Target:ClassColor#mouseovertarget] ! Target:HostileColor#mouseovertarget]
How do I get this to work?
I was starting to go like this: [(if [IsPlayer or [CanAttack then Name:HostileColor]] then Name:ClassColor)] but doesn't work.
I am pretty sure I mix those else, and or, and, or, then, if a little around.