Hi People,
This is a very simple request and Im sure its been asked 1,000,000,000 times before but I cant find reference to it and after looking through the wiki and forum am none the wiser.
I have an object door script that currently allows an override list for people who should be able to open the door even when it has been locked by the owner. I want to modify this so that its possible for everyone in the override list to actually lock/unlock the door as well as open a locked one.
The problem is that for opening the door I can use llDetectedName to capture the av trying to open the door and llListFindList with llCSV2List to check if that user has permission to do so...... Easy as the user has touched to door. However not so simple (at least to me) when the user is Saying "lock door" for example. I have a listener listening to NULL_KEY and it will repond to all users, but then what? I cant use llDetectedName anymore because noone has touched the door. Is there a simple way of getting the name of the av/object that is talking?
Cheers
Timmins