I'm sure I've managed this before, but I just cant get it working now. I'd apreciate any help.

I have the following variables: %var1 %var2... up to %var10

I also have a variable %chose which contains the numbers 1 to 10

What I'd like to do, is be able to do something like this:

/msg $chan %var%chose (Obviously that wont work, but hopefully you can see what I'm trying to achieve)

Therefore, it's got the %var bit + the number contained in %chose.

Unfortunately, I cant find anyway to join the %var and the %chose together in a way so mIRC parses them both at the same time as one variable.

Any ideas? Sorry I havent been able to explain myself very well, if you need more clarification I will try.

Any help apreciated,

thanks.