Then it should work fine
Try this, if this worls you probably have another text event which is conflicting.
Code:
on *:text:hlogin &:?:{
  if ($2 == %helperpass) {
    hadd -sm helpers $nick 1
    msg $nick Helper $nick added succesfully
  }
}