OsKey2Name

From OpenSimulator

Jump to: navigation, search
string osKey2Name(key id)
Returns the avatar's name, based on their UUID.
Threat Level Low
Permissions ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
//
// osKey2Name Script Exemple
// Author: djphil
//
 
default
{
    state_entry()
    {
        llSay(PUBLIC_CHANNEL, "Touch to see osKey2Name usage.");
    }
 
    touch_start(integer number)
    {
        string name = osKey2Name(llDetectedKey(0));
        llSay(PUBLIC_CHANNEL, "Your name is " + name); 
    }
}


See Also

Personal tools
General
About This Wiki