I have kind of a pointer variable but I can't seem to use it.

The "pointer variable" is %q. It holds the name of another variable. However I can't seem to get the value of the variable it points to.
For example.

%q = t
/set %t 5

So How would i get the value of %t using %q?
I've tried $+(%,%q), but it treats returns %t instead of the value of %t.
Thx in advance grin