The problem is I released this and forgot that I didn't give out the plugin::Message part of it.
Add this to your plugin file and tell me if it works:
Code:
sub Message {
my $client = plugin::val('client');
my $Message = $_[0];
if($client) {
$client->Message(315, "$Message");
}
}