Who

From Second Life Wiki
Jump to: navigation, search

A simple 'llKey2Name' user-function supporting Viewer URI Name Space.

Function

string Who(key id)
{
    return "secondlife:///app/agent/" + (string)id + "/inspect";
}

Example

string Who(key id)
{
    return "secondlife:///app/agent/" + (string)id + "/inspect";
}
 
default
{
    touch_start(integer num)
    {
        llSay(0, "Touched by " + Who(llDetectedKey(0)) + "." );
    }
}