Astringofcharacters Posted August 5, 2011 Share Posted August 5, 2011 I would like people to be able to click on a prim and be shown my profile. A very simple script, I'm sure, but beyond my ken.Could someone out there tell me how it's done? Link to comment Share on other sites More sharing options...
Monti Messmer Posted August 5, 2011 Share Posted August 5, 2011 Hi, a content giver script should be in your inventory under library. Try search. Show the profile however is bit more tricky but can be done with paste a link in open chat pointing to the URL of your web-profile. As i dont use web-profiles i cannot tell you the path but it would be like put llSay(0, "yourprofileurl"); in the on_click event. Others will provide you with the full info for sure. Monti Link to comment Share on other sites More sharing options...
Astringofcharacters Posted August 5, 2011 Author Share Posted August 5, 2011 Thanks, Monti Got the LM giver figured out, alright. And yes, somehow pasting a link to my profile into a script like the following seems to be the method I'm trying to figure out now. default { touch_start(integer total_num) { llInstantMessage(llDetectedKey(0),"My Profile?"); } } Just gotta find the right replacement for "My Profile?" I guess. Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted August 5, 2011 Share Posted August 5, 2011 llInstantMessage(llDetectedKey(0),"secondlife:///app/agent/" + (string)yourkey+ "/about"); that should open your profile - if I remember correctly Link to comment Share on other sites More sharing options...
Astringofcharacters Posted August 5, 2011 Author Share Posted August 5, 2011 Thanks Darkie Link to comment Share on other sites More sharing options...
Void Singer Posted August 5, 2011 Share Posted August 5, 2011 your specific profile? or whomever clicks on it profile? and where should it display? if you want it to come up in default method as if you had clicked on the user, then darkie's method works fine.... if you want it to be forced to the new web profile, then llLoadURL with https://my.secondlife.com/account.name is what you want. if you want to force pulling up the old web profiles the you'd use the http://world.secondlife.com/resident/<avatar uuid> address instead. darkies address should also work with llLoadURL, and not require chat history to be open. Link to comment Share on other sites More sharing options...
Astringofcharacters Posted August 6, 2011 Author Share Posted August 6, 2011 Thanks, Void I like the llLoadURL for the web profile. Suffered some confusion trying to apply it to Darkie's address. Of course it won't work without an http:// This is what I ended up going with for the old profile: default { touch_start(integer total_num) { llInstantMessage(llDetectedKey(0),"Click this link to view my profile: " + "secondlife:///app/agent/" +(string)llGetOwner()+ "/about" ); } } Obsolete now, with web profiles, but still works on those other primitive grids Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now