Thanks a lot, I apreciate the help and it's useful for future reference even if it's not quite what I was trying to achieve smile

Sorry for not explaining myself properly frown

I'll try and explain a little better:

%var is not a variable. But %var1, %var2, %var3, %var4 and %var5 are. %chose is a variable which contains just the numbers 1 2 3 4 5.

So basically, say that

/set %var5 test
/set %chose 5

What I want to output to the channel is the actual value of %var5. But I cant use %var5 directly because the end number changes according to what %chose is.

So %var5 is the variable. I know the %var part never changes. %chose contains the end number. What I want to output is the value of %var5 (the variable). Or %var4 or %var3 or whatever %chose is which is added onto the end of %var.

IE

%var1 = test
%var2 = test2
%var3 = testing

%chose = 1
output test (%var1)

%chose = 2
output test2 (%var2)

%chose = 3
output testing (%var3)

Now, I could do it with a lot of if's, but there are a lot of %vars, and it'd be easier if I could just stick %var and %chose together to get a single variable reference to %varN.

I hope that explains it a bit better, I'm confusing myself smile

I'm very apreciative for the help.