|
danr62 Beginner
Joined: 17 May 2003 Posts: 20 Location: USA
|
Posted: Sat Aug 02, 2003 9:46 pm
Comparing Variables |
I have two variables that I have a script trying to compare, but anytime it tries to compare them, it seems to always come out false.
The Variables are @chp, and @mhp. Other variables and constants appear to compare correctly, but not these two. I just don't get it |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Aug 03, 2003 3:02 am |
What's in the variables?
How are you comparing them?
How do you expect anyone to figure this out without providing specifics? |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Mon Aug 04, 2003 1:12 pm |
#VAR chp 6
#VAR mhp 10
#IF (@chp < @mhp) {#SH Chp is lower than Mhp} {#SH Chp is greater or equal to Mhp}
Your checking syntax similar to the above? What is your #IF syntax that doesn't work? |
|
|
|
|
|