Jump to content

Ron Khondji

Resident
  • Content Count

    300
  • Joined

  • Last visited

Community Reputation

46 Excellent

About Ron Khondji

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. llRequestUsername( key id ) If id is not the UUID of an avatar, the dataserver event is not raised.
  2. Yes. Let's go back to Wednesdays grid wide restarts.
  3. To check if the listen event fires you could add a llOwnerSay("I hear you!"); Then, if that works, try a llOwnerSay to check the 'if'.
  4. The script works fine for me. Possible problems for you might be: - The script isn't running. - You are on a 'no scripts' parcel. - Other reasons I can't think up right now.
  5. Well, the data returned in the dataserver event is just a string of the rezzdate. No need to do any calculations with it. This is script 1. // :CATEGORY:ChatBot // :NAME:Pandora_Chatbot // :AUTHOR:Destiny Niles // :CREATED:2010-01-10 05:20:56.000 // :EDITED:2013-09-18 15:38:59 // :ID:603 // :NUM:826 // :REV:1.0 // :WORLD:Second Life // :DESCRIPTION: // An ALICE base chatbot hosted at Pandorabots.com // // // Place these two scripts in an object. The first one is the listener for you to customize and control who it listens to. The second one is the actual engine itself. // :CODE: string mesg; key gOwner; list talkers; key Query; // added by SG for use with age calc key avi; string aviName; string RezDate; string location; string region; listen_to(key talker) { integer index = llListFindList( talkers, [talker] ); if ( index != -1 ) { talkers = llDeleteSubList(talkers, index, index); llMessageLinked(LINK_SET,0,"BYE",talker); } else { talkers = talkers + talker; // The MessageLinked below is formatted to process the information in Pandorabots collected from SL - i.e. name and location. Trying to also include avatars rez day but this part not working yet. You can check this by saying in chat (after logging in by touching the prim containing these 2 scripts) "testinit" (without the quotes) llMessageLinked(LINK_SET, 0, "CTRL1 " + aviName + ". " + "CTRL2 " + RezDate + ". " + "CTRL3 " + location + ". " + "CTRL6 " + region + ".", talker); } } default { state_entry() { gOwner = llGetOwner(); llListen(0,"",NULL_KEY,""); } on_rez(integer i) { llWhisper(0,"Owner say /chat or touch me"); llResetScript(); } touch_start(integer num_detected) { avi = llDetectedKey(0); aviName = llDetectedName(0); location = llList2String(llGetParcelDetails(llGetPos(), [PARCEL_DETAILS_NAME]) ,0); region = llGetRegionName(); Query = llRequestAgentData(llDetectedKey(0), DATA_BORN); } dataserver(key QID,string Data) { if (QID == Query) { RezDate = Data; listen_to(avi); } } listen(integer channel, string name, key id, string msg) { if (msg == "/chat") { listen_to(id); return; } if ((msg == "/reset") && (id == gOwner)) { llWhisper(0,"Resetting"); llResetScript(); } integer index = llListFindList( talkers, [id] ); if (index != -1) { mesg = llToLower(msg); llMessageLinked(LINK_SET,0,msg,id); } } } In script 2 I didn't change anything. The avatar age thing I threw away.
  6. Ron Khondji

    Tilia TOS

    I was reading the Tilia TOS and noticed this: There is however no section 3.6 to be found anywhere.
  7. I think this is what you were trying to do: touch_start(integer total_number) { integer i; for (i = 0;i < total_number;i += 1) { llPlaySound("SOUND HERE", 0.7); string origName = llGetObjectName(); string owner = llList2String( llParseString2List( llGetDisplayName(llDetectedKey(0)), [" "], [] ), 0 ); string avName = llList2String( llParseString2List( llGetDisplayName(llDetectedKey(0)), [" "], [] ), 0 ); llSetObjectName(avName); llSay( 0, "/me " + "kisses " + owner + "'s nose. "); llSetObjectName( origName ); }
  8. It's not just you.
  9. Another thing: If the twerk animation has a lower priority then the one playing by your AO you won't see it playing. Try disabling your AO and see what happens.
  10. There are no state changes in this script so this note from the wiki should not apply: "Changing state from within touch_start can cause the next occurrence of THIS touch_start code to be missed." However, maybe the llDetachFromAvatar() has the same effect as a state change. If that is the case the problem can be solved by using touch_end() instead of touch_start(). Worth to try.
  11. It's possibly in the hope that some idiot comes along and pay the asking price.
  12. Looks like the old comparrison versus assinment problem. if (DRAWN == TRUE)
  13. It's a typo. Check the line above the one that gives the error. Hint: variable names are case sensitive.
  14. The one in Vallone is not set to be copyable by anyone. Or was I looking at the wrong one?
  15. I just went to 'Kama Center' and noticed the same thing. Seen from: http://maps.secondlife.com/secondlife/Strute/252/10/36 Viewer: Second Life Release 5.1.3.514115 (64bit)
×
×
  • Create New...