this is what i thought of and it failed. miserably.
mob
var
q = r-d
r=100
verb
subtract()
var/d = input("How many?") as num
usr.r-=d
stat()
statpanel("Counter")
stat("[r]/100")
..()
the part im having a problem with is the variable "q"
because i want to do this
verb
subtract()
var/d = input("How many?") as num
usr.r-=d
usr<<"You subtracted [q] and you have [r]/100 left"
any suggestions?? thanks guys