Code:
on *:notice:*matchtext*:*:{
  ; commands
}
on *:notice:*:*{
  if Hello * there iswm $1- {
    ; commands
  }
}
on *:notice:*:*{
  if Hello == $1 {
    ; commands
  }
}
For more info type /help if then else