I don't have either of these problems in mIRC 6.00. Yet another reason why I wont upgrade.
//var %tmp = $base(-1,2,10,8) | echo -a %tmp
000000-1
//set %a hello | echo -a $base(-5,10,4,7)
0000-11
Yes, the negative should appear before the padding... but there don't appear to be any buffer issues with /var /set -l, etc.
- Raccoon