And what exactly is the bug?
/echo [color] [-cdeghiNtsaqlbfnmr] [color name] [#channel|[=]nick] <text> Do you see that first optional parameter [color]? If you put a color code there, the echo alias will output the text in that specified color. Since you are doing /echo -a %y, with %y being 0, mIRC interprets that as the color code, but you don't specify a text to be echoed, so it fails.
alias bintest {
var %y = 0
echo -a value: %y
while (%y < 256) {
bset &a $calc(%y + 1) %y
inc %y
}
echo -a var: $bvar(&a,1-)
}
/help binary variables, look up the -t switch while you're at it
Greets
EDIT:
Also, does this mean there's no way to set a &binvar to 00000000?
(actually there are a LOT of $chr()'s that don't work, so how do you set binary variables to them?)
I don't possibly see how you could fill a variable with multiple $nulls, since 1000*nothing = nothing. If you want to set multiple zero's ($chr(48)) then use the -t switch, or don't use it but specify 48 then.