no no, the /tokenize was just an example of declaring X and Y :P the meat of it is this:
$calc( [ $str(+$r(1, $2), $1) ] )
which, in general, returns the sum for any (reasonable) X ($1) and Y ($2). i wasn't suggesting you update your code; whenever i point out alternatives it's purely for informative purposes rather than telling scripters they should modify their submission in one way or another :P if you do want to incorporate that little bit, i would suggest the following modification be made:
$calc( [ $str(+$r(1,$2),$1) ] )
(removed the spaces before $2 and $1)
which is better for a couple of reasons that i don't want to bore you with