Dude, just read the damn code. Where does he imply that $rnick(chan,#) is its usage here?
alias rnick { return $nick(#,$r(1,$nick(#,0))) }
Read the code. And you're not benefitting anyone by not reading what is going on in the code. Don't blindly go and call someone out if you haven't even looked at it.