Is it possible to use a variable inside a set command?
I have a bot that is in about 10 channels that I am using. I want it to record a certain piece of information on that channel. That is working, however the problem I am facing is that if it is set on antoehr channel, it becomes the same for ALL channels. I could just make it a different proc for each of the 10 channels, however I want to be able to scale this out to more channels as needed, and it would be a lot of work once it gets bigger.
Is there anyway to use something like the following?
global record_$chan
set record_$chan
So if the channel name was test the variable it was actually using would be record_test
Let me know if anyone knows the way to pull this off.
THanks