So I have this specific timer, as follows:

timerHealth.$nick $calc(%rpgMaxHealth.$nick - %rpgCurrentHealth.$nick) 15 inc %rpgCurrentHealth.$nick

The name works, the command works, but for whatever reason, the $calc() doesn't.
If %rpgCurrentHealth.$nick is 75 and %rpgMaxHealth.$nick is 100, then $calc(%rpgMaxHealth.$nick - %rpgCurrentHealth.$nick) should return 25, right?

So the timer SHOULD be
timerHealth.kuboskube 25 15 inc %rpgCurrentHealth.kuboskube

But instead it comes out
timerHealth.kuboskube 100 15 inc %rpgCurrentHealth.kuboskube

The EXACT code I'm using is
Quote:
timerHealth. [ $+ [ $nick ] ] $calc((%rpgMaxHealth. [ $+ [ $nick ] ] )- (%rpgCurrentHealth. [ $+ [ $nick ] ] )) 15 inc %rpgCurrentHealth. [ $+ [ $nick ] ]