Difference between revisions of "Say name"
Jump to navigation
Jump to search
(New page: This will make a prim say who is touching the prim. Please help setting this script up.) |
(script from llDetectedName (don't think this is complex enough for the lsl library...)) |
||
Line 1: | Line 1: | ||
This will make a prim say who is touching the prim. | This will make a [[prim]] say who is touching the prim and give his/her [[key]]. | ||
<lsl> | |||
default | |||
{ | |||
touch_start(integer num) | |||
{ | |||
integer i = 0; | |||
do | |||
llSay(0, llDetectedName(i) + " touched me. His/Her key is " + (string) llDetectedKey(i)); | |||
while(num > ++i); | |||
} | |||
}</lsl> |