Simply add v[x] where x is your variable id. This feature is really great for making custom upgrading systems.