Difference between revisions of "User:Cow Taurog/Language scanner"
Jump to navigation
Jump to search
Cow Taurog (talk | contribs) (create) |
Cow Taurog (talk | contribs) |
||
Line 1: | Line 1: | ||
Tells the owner who is nearby, and their <span class="plainlinks">[http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1]</span> language code. | |||
<lsl> | <lsl> | ||
default{ | default{ | ||
state_entry(){ | |||
llSensor("","",AGENT,96,PI); | |||
} | |||
touch_start(integer num){ | touch_start(integer num){ | ||
llSensor("","",AGENT,96,PI); | llSensor("","",AGENT,96,PI); |
Revision as of 23:43, 6 January 2009
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>