I was testing my some commands that would be controled by a HUD. Im unsucsessful. Im doing it just as I see it in another set of scripts and I have no idea why its not working. All scripts are compiling and I am not getting any scripting errors after the compile or when pressing the HUD button. Here is the 3 scripts.
Here is the HUD button;
CODE
Say_Message(string command)
{
string name = llGetObjectName();
llSetObjectName(llKey2Name(llGetOwner()));
if(command == "Tester") llWhisper(3, "Test");
llSetObjectName(name);
}
default
{
touch_start(integer total_number)
{
Say_Message("Tester");
}
link_message(integer sender, integer num, string message, key id)
{
Say_Message(message);
}
}
This is the script thats listening for the HUD command and sends the message to the script I want to activate for whatever reason;
CODE
string OwnerName;
integer ListenCh = 3; //Listen channel of the HUD
string TesterCommand = "Test"; //Horn command
key Owner;
string Sound = "e874533b-a780-30bd-c0b8-313a373a3320"; // tester sound
default
{
listen(integer channel, string name, key id, string message)
{
if(llGetOwnerKey(id) != Owner) return;
message = llToLower(message);
if(message == TesterCommand) llMessageLinked(LINK_SET, 999111, Sound, NULL_KEY);
}
}
Here is the last script thats listening for the final command;
CODE
default
{
link_message(integer sender, integer num, string message, key id)
{
if(num == 999111) llPlaySound(message, 1.0);
}
}
No sound plays, no script errors. Only me pulling out my hair.
I would greatly appreciate any advice as to why this is not working for me. Thank you in advance.


will not match the message("test"