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.

Code:
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.

Code:
var %i = 1,100
echo -a $Rand( [ %i ] )


For some reason $eval isn't properly evaluating %i.

Thanks for your time.

Last edited by Thrull; 09/08/08 03:46 AM.