Thread Tools Display Modes
11-02-08, 06:00 AM   #1
WaldoJeffers
A Molten Giant
 
WaldoJeffers's Avatar
Join Date: Jan 2007
Posts: 564
Help with a dogtag

Hello,
Can anyone good with dogtags please tell me how to show say "-250" for missing hp instead of "250" ? My code is
Code:
 [Status or (if IsFriend then
    MissingHP:Hide(0):Short:Color('00ffff')
Thanks
Qyn
__________________
I said lady, step inside my Hyundai
  Reply With Quote
11-24-08, 10:33 PM   #2
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 648
Originally Posted by WaldoJeffers View Post
Hello,
Can anyone good with dogtags please tell me how to show say "-250" for missing hp instead of "250" ? My code is
Code:
 [Status or (if IsFriend then
    MissingHP:Hide(0):Short:Color('00ffff')
Thanks
Qyn
Code:
 [Status or (if IsFriend then
    "-"MissingHP:Hide(0):Short:Color('00ffff')
Doesn't do it?
__________________
All I see is strobe lights blinding me in my hindsight.
  Reply With Quote
11-24-08, 10:38 PM   #3
WaldoJeffers
A Molten Giant
 
WaldoJeffers's Avatar
Join Date: Jan 2007
Posts: 564
Lol yea it works I worked it out myself some time ago *put's on tinfoil hat*. Thanks though, wimpy
__________________
I said lady, step inside my Hyundai
  Reply With Quote
11-25-08, 03:47 AM   #4
Psoewish
A Scalebane Royal Guard
 
Psoewish's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 447
You can also use (-MissingHP) instead of "-"MissingHP

Imo it looks better, and if something code-wise looks better, it's easier to read, and edit.
  Reply With Quote
11-25-08, 09:53 PM   #5
WaldoJeffers
A Molten Giant
 
WaldoJeffers's Avatar
Join Date: Jan 2007
Posts: 564
Oops my mistake, yea I use - rather than "-" i wasn't sure if Wimp was trying to emphasize the - or not by ""
__________________
I said lady, step inside my Hyundai
  Reply With Quote
11-26-08, 07:48 AM   #6
Psoewish
A Scalebane Royal Guard
 
Psoewish's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 447
Originally Posted by WaldoJeffers View Post
Oops my mistake, yea I use - rather than "-" i wasn't sure if Wimp was trying to emphasize the - or not by ""
Well "-"MissingHP would work as well, as you're literally placing a - before the MissingHP because it's between those ""
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Help with a dogtag


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off