You can use something like this;
on *:TEXT:*Hello*:#channel123: {
/msg $chan Hello, $nick
}
So whenever someone write hello you response like,
Hello, and the nickname of the typer of Hello.
Whenever you respond on nick then you will response Hello whenever Bob types something.