if its any conselation to you
Arrays and "dynamic" variable techniques by Ntd writen for pairc.com
Some very common problems are "how do I make an array of variables?" and "how do I set and retrieve a variable for any nick?". Well, this information is in the mIRC help file, but it's extremely well hidden!
/say % [ $+ [ $1 ] ]
There it is, the big secret. It may not look like much, but in fact its the basis of arrays (and the related topic of storing and looking up stuff for each nick.) Sadly, Khaled stopped short of explaning how that code is any use, so here goes. What the code above does is to stick a % sign on front of whatever $1 is to get a variable name, re-evaluate it and then /say it. So if $1 was "test", mIRC would say whatever was in %test. It would not say
"%test"!! (That's important.) Try this from any editbox:
/set %message hello
/set %test message
//echo -a % [ $+ [ %test ] ]