sda Wanderer
Joined: 18 Apr 2001 Posts: 55 Location: United Kingdom
|
Posted: Wed Feb 12, 2003 6:37 pm
Capture negative numbers |
I'm struggling to capture a number which may/may not be negative.
For example, I have this at the moment:
Hp:&%dhp~(&%dhpmax~) Sp:&%dsp~(&%dspmax~)
But I might have negative spellpoints and then the trigger doesn't fire.
I've thought about this:
Hp:&%dhp~(&%dhpmax~) Sp:{-|}&%dsp~(&%dspmax~)
but I need to store a negative value if indeed it turns out to be negative.
Any help here please?
Thanks,
Steve :) |
|