well rmxp comes with... a minimized array of \X[Y] stuff
so here is what you might just wanna do:
by using \v[X] (x being the number in the database) you can show variables
you can save the amount of hp, sp, money, x tile, y tile, steps, time so on in a variable, then to show that thing you just do \v[X]
assuming you saved money in variable 23 the message goes:
you got \v[23] money