Jump to content

Taaruf

Resident
  • Posts

    21
  • Joined

  • Last visited

Posts posted by Taaruf

  1. Hmm it still says the same, 

     

    0,0 error syntax.

    Im not even doing anything more than adding stuff you guys writing.

     

    touch_end( integer num ){    if(llListFindList(blacklist, [llDetectedName(0)]) < 0)    {        llListenRemove( handle);        handle = llListen( dialogChanal, "", llDetectedKey(0), "");        llDialog( llDetectedKey(0), menuText, BUTTONS, dialogChanal);    }}

     Is what i got so far, and it does not work.

  2. I tried making a script with

     

    touch_end( integer num )
    {
    if ( llListFindList( blacklist, llDetectedName(0)) < 0 )
    {
    llListenRemove( handle);
    handle = llListen( dialogChanal, "", llDetectedKey(0), "");
    llDialog( llDetectedKey(0), menuText, BUTTONS, dialogChanal);
    }
    }

     

    Didnt work tho, syntax error.

  3. Hiya, my avi got a tail, that has a touch script to it (dialog menu) 

    Somtimes i meet people that starts griefing, click spam etc, filling up the chat. Giving me the blame.

    So i was just curious if anyone know how to add some kind of way to ban the people of my choice, so they become unable to click on it.

     

    Appreciate it!

  4. Thanks for all the help, it works great now!

    Somtimes i meet people that starts griefing, click spam etc, filling up the chat. Giving me the blame :]

    So i was just curious if its possible to add somthing to the script that could perhaps ban people of my choice from being able to click?, some kind of allow list.

    I dont mean that i need to allow people to click, just baning the ones i dont want to be able to click :]

     

    Is that possible?

  5. Thats the reason why im gonna stick with the old script, it was easier edit the messages, it showed more clear which line was from which category.

    The only thing i wanted on that one was the name of the object to disappear in chat once the message came up.

    Guess thats impossible since we r on page 3 and still not solved =D

  6. This complicates a few things, i was use to the old script where you could changing around the messages as you wished, with this new script you made. how does that work? If i want more clicking options and a sentence instead of 1 word in difference.

     

    Wouldnt it just be possible adding the only part that made the object name disappear in chat. To the script i had? That would be perfect.

  7. The scripts in a object? which is a tail attached to my avi.

     

    Im using another avatar for clicking on it.

    The result from the script you just wrote made it look like this in chat when clicking on it.

     

    [14:09] Object: **Touched by Toi Toshi
    [14:09] /me Toi Toshi bites Taaruf's tail

     

    (other avatar would be Toi, clicking)

    I dont really understand the confusion youre having, i want it to look like this in chat.

     

    [14:09] Object: **Touched by Toi Toshi
    [14:09] Toi Toshi bites Taaruf's tail

  8. Just like before, it only changes the object name to " New Object " and now it appears like this in chat.

     

    New Object: Taaruf Resident Bites Taaruf's Tail

     

    integer chan = -5;
    list buttons;
    integer listen_handle;
    string firstname;
    default
    {
    state_entry()
    {
    llSetObjectName("");
    buttons = ["Bite","Pull"];
    }
    touch_start(integer total_number)
    {
    key id = llDetectedKey(0);
    string name = llKey2Name(id);
    firstname = llGetSubString(name,0,llSubStringIndex(name," "));
    llDialog(id,"choose an action",buttons,chan);
    listen_handle = llListen(-5, "","", "");
    llInstantMessage( llGetOwner(), "**Touched by " + name );
    }
    listen( integer chan, string name, key id, string mess )
    {

    if(mess == "Pull")
    {
    llSay(0,"" + name + " Pulls Taaruf's Tail");
    llDialog(id,"choose an action",buttons,chan);
    llSetTimerEvent(20);
    }
    if(mess == "Bite")
    {
    llSay(0,"" + name + " Bites Taaruf's Tail");
    llDialog(id,"choose an action",buttons,chan);
    llSetTimerEvent(20);
    }
    }
    timer()
    {
    llListenRemove(listen_handle);
    llSetTimerEvent(0);
    }
    }

  9. Where do i exactly add llSetObjectName(""); ?

    Let me show the script.

    integer chan = -5;
    list buttons;
    integer listen_handle;
    string firstname;
    default
    {
    state_entry()
    llSetObjectName("");
    {
    buttons = ["Bite","Pull"];
    }
    touch_start(integer total_number)
    {
    key id = llDetectedKey(0);
    string name = llKey2Name(id);
    firstname = llGetSubString(name,0,llSubStringIndex(name," "));
    llDialog(id,"choose an action",buttons,chan);
    listen_handle = llListen(-5, "","", "");
    llInstantMessage( llGetOwner(), "**Touched by " + name );
    }
    listen( integer chan, string name, key id, string mess )
    {

    if(mess == "Pull")
    {
    llSay(0,"" + name + " Pulls Taaruf's Tail");
    llDialog(id,"choose an action",buttons,chan);
    llSetTimerEvent(20);
    }
    if(mess == "Bite")
    {
    llSay(0,"" + name + " Bites Taaruf's Tail");
    llDialog(id,"choose an action",buttons,chan);
    llSetTimerEvent(20);
    }
    }
    timer()
    {
    llListenRemove(listen_handle);
    llSetTimerEvent(0);
    }
    }

     

     

  10. Hello fellow sl players.

     

    I need some help with my tail that has a touch script to it.

    It appears that the name of the tail is shown in chat aswell if someone clicks on it for a message. 

    For example, if someone choose the option "bite" when clicking, it would be somthing like.

     

    Cat Tail 2.0 : (name) starts biting Taaruf's tail.

     

    Would it be possible to make a quick little change so it would appear more like this.

     

    (name) starts biting Taaruf's tail. (just skipping the name of the object techniqually)

     

    Many thanks!

×
×
  • Create New...