Unless i'm mistaken they want the word hellows to echo in the status window based on looking at the original code
on *:TEXT:*:#: {
if ($1 == Hello) { echo -s hellows }
}
But if they meant to reply back hello, then yes what you posted will work. But they didn't say.