if ($hget(LastMsg,$nick) == $strip($1-) ; <--- ARE YOU MISSING SOME CHARACTERS?! hadd -mu300 LastMsg $nick $strip($1-)