Code:
alias sizetest {
  var %size = 0
  !.echo -q $findfile($mircdir, *, 0, inc %size $file($1-)); %size now contains the dir size
  echo -a %size
}

Put that in your remotes (Alt+R), and type /sizetest - does it echo the correct size (remember the value is in bytes).


Spelling mistakes, grammatical errors, and stupid comments are intentional.