As for even/odd:
alias iseven { if (N & 1) return $false | else return $true }
average:
alias avg { if ($remove($1-,$chr(32)) isnum) return $calc(($replace($1-,$chr(32),+)) / $0) }
Just some cool, efficient ideas I thought I\'d share with you.