Who

From Second Life Wiki
Revision as of 12:37, 9 March 2023 by Gwyneth Llewelyn (talk | contribs) (Added {{LSL Header}} for good measure...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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)) + "." );
    }
}