For Residents who've created an Experience Key to use with their scripts, it can be a bit tricky to locate the unique ID number for their experience. Here's how to use a script inside an object to find your Experience's unique ID number (UUID) - also sometimes referred to as a key.
To use this method, your avatar will need to be somewhere that building new objects is permitted, such as your own land or a sandbox region.
- On a parcel that permits building, create a new prim object (Build > Select Build Tool > Create and then click on the ground, or Control-4 and click on the ground, etc)
- Right click on the new object to open the Edit menu
- On the Contents tab, click New Script
- Double click on the New Script to open the script editing window, or right-click and select Open
- At the bottom of the Script editing window, click the ‘Use Experience’ checkbox and select the experience name you'd like to retrieve information about from the dropdown
- Copy the example script below into the Script edit window & click Save
default { touch_start(integer total_number) { llOwnerSay(llDumpList2String(llGetExperienceDetails(NULL_KEY), "\n")); // Print nothing if not associated with an XP or info about the associated experience } }- Close the Build/Edit floater and then click once on the new object to run the script inside, and it will put the Experience info into local chat - the first UUID is the owner’s avatar key and the second is the unique key for the experience (UUID)
For more about how to use this script function, check out the Second Life Wiki - LLGetExperienceDetails page.