if ($eval($(% $+ $3), 2) == $nick)

$eval(code, N) will evaluate code N times. In your case you need it to evaluate the code twice: once in order to get the variable's name, and a second time to get the resulting variable's value.


Spelling mistakes, grammatical errors, and stupid comments are intentional.