User:Decimus Schomer/Scripts/UUID getters
Decimus' user page | Decimus' talk page | Decimus' scripts | Decimus' script libraries | Decimus' projects
Main scripts page | Toggling Rotate script | UUID-getter scripts | Texture changer | Channel spier | Chatbot | Jump slab | Emailer | Fractal viewer | Grammar analyser | SPD viewer
This script tells you the UUID of the object when you click on it:
// This code is public domain. // You may do whatever you like with it, as long as you remember: // ABSOLUTELY NO WARRANTY IS PROVIDED, NOT EVEN THE IMPLICIT WARRANTY THAT THE PRODUCT IS SUITABLE FOR ITS INTENDED USE. // -Decimus Schomer default { touch_start(integer total_number) { llSay(0, (string)llGetKey()); } }
And this one tells you the UUID of everyone who touches it at once:
// This code is public domain. // You may do whatever you like with it, as long as you remember: // ABSOLUTELY NO WARRANTY IS PROVIDED, NOT EVEN THE IMPLICIT WARRANTY THAT THE PRODUCT IS SUITABLE FOR ITS INTENDED USE. // -Decimus Schomer default { touch_start(integer n) { integer i; for (i = 0; i < n; i++) { llSay(0, llDetectedName(i) + " has a UUID of " + (string)llDetectedKey(i)); } } }
This one gives the UUID of the closest 16 people within 96 metres (most distant first):
default { touch_start(integer num) { llSensor("",NULL_KEY,AGENT,96,PI); } sensor(integer num) { while(num--) { llSay(0,llDetectedName(num)+"'s UUID is "+(string)llDetectedKey(num)); } } }