If I write following in a Channel...
I can create as example an variable and value looking like this...
But...if I try to read them out in the same style I created this variable...
...I get only this message...
%Pilo...why...if I can create this variables...why couldn't I read them out...
mIRC-Help tells following...
You can also set/unset dynamic variables using [] brackets:
vartest {
set %a [ $+ b ] 1
set %a [ $+ c ] 2
set %a [ $+ d ] 3
echo ab = %ab
echo ac = %ac
echo ad = %ad
unset %a [ $+ b ] %a [ $+ c ] %a [ $+ d ]
}
But...this aren't dynamic variables... b, c and d are just static characters and no variables...
to set or unset %ab you can simply use
%ab and not this
%a [ $+ b ] <-
useless stuffset %b b
set %a [ $+ %b ] test
echo %a [ $+ %b ] -> output: test
echo %ab -> output: test
..
%a [ $+ %b ] is in this case a
real dynamic variable...nothing else...
so...why isn't it working like this...???
Please tell me...