I'm using a call and answer between door and HUD. When avatar touches door, the door calls out on a channel and listens on another channel. The HUD answers the message and the door unlocks. The problem seems to be that if the door doesn't hear any message on the listen channel, it doesn't do anything from there. Yes, it won't unlock, but I want it to say something.
Here's a snippet:
touch_start(integer number_detected)
{
key av = llDetectedKey(0);
llSay(88, "who"
;llListen(99, "", "", ""
; }
listen(integer channel, string name, key id, string message)
{
if(message == (string)av + "me"

{
llMessageLinked(LINK_ALL_OTHERS,0,"open",llDetectedKey(0));
}
else
{
llSay(0,"access denied"
;}
}
The script never gets to the llSay function. How can I get door to respond to not just the wrong message, but NO message? Or am I on the wrong track?