define variable <miningexp>
type numeric
value <0>
display <mining: %mininglvl% (%miningexp%).
onchange {
if ( mingexp > ((mininglvl * mininglvl ) * 35) - 35 ) then {
set <miningexp; miningexp - (((mininglvl * mininglvl) * 35) - 35)>
set <mininglvl; mininglvl + 1>
msg <|crDING!!!|n|nYOU HAVE GAINED A LEVEL IN MINING!!!|nYOU ARE NOW LEVEL %mininglvl%.|cb>
}
}
end define
this makes it so you automatically level. you can change to formula to what you want (mine's quite cool: starts at 50, then goes up by 70, then 140, then 210, etc. lol)
this what you wanted?