Difference between revisions of "Who"
Jump to navigation
Jump to search
Ackley Bing (talk | contribs) |
Ackley Bing (talk | contribs) |
||
Line 20: | Line 20: | ||
default | default | ||
{ | { | ||
touch_start(integer | touch_start(integer num) | ||
{ | { | ||
llSay("Touched by " + Who(llDetectedKey( | llSay(0, "Touched by " + Who(llDetectedKey(0)) + "." ); | ||
} | } | ||
} | } |
Revision as of 20:31, 15 February 2013
A simple 'llKey2Name' user-function supporting Viewer URI Name Space.
Function
<lsl> string Who(key id) {
return "secondlife:///app/agent/" + (string)id + "/inspect";
} </lsl>
Example
<lsl> string Who(key id) {
return "secondlife:///app/agent/" + (string)id + "/inspect";
}
default {
touch_start(integer num) { llSay(0, "Touched by " + Who(llDetectedKey(0)) + "." ); }
} </lsl>