Jump to content

sensor without owner


sndbad Ghost
 Share

You are about to reply to a thread that has been inactive for 2817 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

hi friends

i use this script its work nice, but the problem
the llDialog menu show me my name with list how can i hide my name and show to another people ?

thanks 

 

        sensor(integer num)
    {

        names=[]; buttons=[];
        for(i=0;i<num;i++)
        {
            buttons+=[llGetSubString(llDetectedName(i),0,23)];
            names+=[llGetSubString(llDetectedName(i),0,23),llDetectedKey(i)];
        }
        menuChan=-llRound(llFrand(10000000)+100000000);
        listen_menuChan=llListen(menuChan,"",llGetOwner(),"");
        llDialog(llGetOwner(),"Select name ",buttons,menuChan);

    }

 

 

Link to comment
Share on other sites

How about:

        sensor(integer num)    {        names=[]; buttons=[];        for(i=0;i<num;i++)        {            if (llDetectedKey(i) != llGetOwner())             {                buttons+=[llGetSubString(llDetectedName(i),0,23)];                names+=[llGetSubString(llDetectedName(i),0,23),llDetectedKey(i)];            }        }        menuChan=-llRound(llFrand(10000000)+100000000);        listen_menuChan=llListen(menuChan,"",llGetOwner(),"");        llDialog(llGetOwner(),"Select name ",buttons,menuChan);    }
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2817 days.

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
 Share

×
×
  • Create New...