You need to evaluate the '$+(%, test., $nick)':

Code:
if ($calc($test - 3) > $($+(%, test., $nick), 2)) {