ratio 

$ratio(value1, value2[, option])

The ratio function will compare the two values given and return them in a ratio format, ala 1:x or x:1. [Option] are passed to the math function.

Example:


$ratio() example

on pcmd_ratio cmd
   /say_stat * $(pn) K:D ratio (current/alltime) -- $ratio(k,d,.2) / $ratio(a-t.k,a-t.d,.2);