xDaeMoN commented on a Page, Number formatting  -  Oct 23, 2005

You can also simplify your $min & $max alias to this ( which you can also specifify the token delimiters):

;Syntax: $min(n1 n2 n3,C)
alias min return $gettok($sorttok($$1,$2,n),1,$2)

;Syntax: $max(n1 n2 n3,C)
alias max return $gettok($sorttok($$1,$2,nr),1,$2)

For your $decimal, $round is already built-in with mIRC which does the same thing.

 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.