instead of using \"if ($nick == YouRNiCkHeRe)\" i would suggest using \"if ($nick == $me)\" because if you use the $me will work even if you change your name. ^_^ just a suggestion though.
Another Suggestion is using it as an on *:INPUT: command such as the one below.
on :input:: {
if (!$istok($cmd /,$left($1,1),32) && !$inpaste && !$ctrlenter) {
if ($1 == !boom) {
inc %z