WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   DogTag help (https://www.wowinterface.com/forums/showthread.php?t=59323)

Viryz 11-06-22 06:38 AM

DogTag help
 
Hello,

I want to execute a function which involves AFK and Offline. I am not very good at this kind of language even though I've tried to play around with it.

So this is what I've got.
Code:

[Outline][(~Dead ? PercentHP < 99 ? PercentHP:Short:Percent:Short:HPColor) (Dead ? "DEAD":Gray)]
What I want to do is to add "Offline or AFK" into it.

For example, I've tried this,

Code:

[Outline][(~Dead ? PercentHP < 99 ? PercentHP:Short:Percent:Short:HPColor) Concatenate("Offline", ' ', OfflineDuration:FormatDuration:Paren)]
This isnt working, again, I am not good with this language and dont really know the rules of grammar at all. Just played around with it.

Thanks.

Viryz 11-07-22 06:09 AM

Solved.

Feel free to remove the thread.


All times are GMT -6. The time now is 04:54 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI