Code:
on *:TEXT:*:#: {
  var %x = /^(hello|hey|hi)\s $+ $me $+ /Si
  if ($regex($1-,%x)) { describe # Hello $nick $+ , hows it going ? :) }
}


You can use $regex to achieve this. You can add more greeting words to it as shown above.

This script will only be triggered when your name is being greeted, as in:

Hello ToRmEnTeD, Hey Tormented or hi tormented