User:Cow Taurog/Language scanner

From Second Life Wiki
< User:Cow Taurog
Revision as of 23:33, 6 January 2009 by Cow Taurog (talk | contribs) (create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<lsl> default{

   touch_start(integer num){
       llSensor("","",AGENT,96,PI);
   }
   sensor(integer num){
       llOwnerSay(llDetectedName(num-1)+", "+llGetAgentLanguage(llDetectedKey(num-1)));
   }
   no_sensor(){
       llOwnerSay("No more avatars found.");
   }

} </lsl>