I'm not sure if this is intended behavior or not, so someone correct me if it is please. I'm using Mirc 6.34 on Windows XP SP 2.
var %i = 1,100
echo -a $Rand($eval(%i,1))
I get the following error: * Too few parameters: $rand
However, the code below works as expected.
var %i = 1,100
echo -a $Rand( [ %i ] )
For some reason $eval isn't properly evaluating %i.
Thanks for your time.