TheMobeater
New member
- Joined
- Nov 20, 2013
- RedCents
- 0¢
Please excuse the writing of the code, I am no programmer by any means, am just trying to get my feet wet with this "simple" macro.
I Just want to be able to echo that my level is more, less, or equal to the mob, and then echo what that difference in levels is, but all I get is errors
Any advice would be appreciated, or if there is already a macro out there for this, a point in the right direction would be nice.
Thank You,
TheMobeater
I Just want to be able to echo that my level is more, less, or equal to the mob, and then echo what that difference in levels is, but all I get is errors

Rich (BB code):
Sub Main
/declare diff
/if (${Me.Level}<${Target.Level}){
/varset diff ${Math.Calc[${Target.Level}-${Me.Level}]}
/echo My level is less
} else { /if (${Me.Level}>${Target.Level})
/varset diff ${Math.Calc[${Me.Level}-${Target.Level}]}
/echo My level is more
} else { /echo My level is equal
}
/echo $diff
/end
/return
Any advice would be appreciated, or if there is already a macro out there for this, a point in the right direction would be nice.
Thank You,
TheMobeater

