Anyway, just for the records:

 Code:
Function a($,optional $b)
    $b = $b + 1
    if $
        $a=a(right($,~),$b)+$b*(asc($)-64)*($>!)
EndFunction


scores 84
_________________________