Hello, I am trying to use llMessageLinked in an object and so far I am having a hard time. Basically I have 2 scripts. The 1s takes care of managing the password people have to use the object and send a command to trigger the 2nd script when the password is right. So in my first script I have those lines here: listen(integer channel, string name, key id, string text)
{
if (text=="1234")
{
llSay(0,">>Password Accepted<< The Box Is Open");
llMessageLinked(LINK_SET, 0, llGetScriptName(), "shootmenu");
}
else llSay(0,"Wrong password");
} And in the 2nd script I have those lines here: link_message(integer Sender, integer Number, string message, key ID)
{
if (message == "shootmenu")
{
touched = ID;
if (touched)
{
DisplayMenu(0);
}
}
} Any idea where I made a mistake between those two scripts? looks like the 2nd does not listen to the first or its the first that do not say anything. Any help is appreciated. Thank you