Its not a script, its just the general use of the function that stops any script cold and doesn't work anymore. I'll just write an example if you need.
Code:
sub EVENT_SAY {
if ($text =~/hail/i) {
$client->movepc(343,0, 0, 0, 0);
quest::shout("Debug: Shout if it works");
}
}