I tried even one small message and it still didn't work.
Here is what I have.
I also tried with the name you gave me and it didn't work.
Code:
sub EVENT_SAY {
$client->Message(7, " ");
my $NPCName = $npc->Ram();
my $Hello = quest::saylink("Hello", 1);
if($text=~/Hail/i) {
$client->Message(315, "$NPCName whispers to you, '[$Hello], I am a test bot.'");
}
}