User:Cow Taurog/Language scanner
< User:Cow Taurog
Jump to navigation
Jump to search
Revision as of 23:43, 6 January 2009 by Cow Taurog (talk | contribs)
Tells the owner who is nearby, and their ISO 639-1 language code. <lsl> default{
state_entry(){ llSensor("","",AGENT,96,PI); } 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>