jaytea commented on a Page, DnD Roller  -  Dec 06, 2010

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

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.