Jump to content

Dialog by sensor list error


Mrc Homewood
 Share

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

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

Recommended Posts

Ive been having this issue for about 2 days not sure what I goofed on and no one seams to get what is going on. I have a sensor that is creating a list then sending that list to a dialog I keep receiving this error and no one seams to get why, it looks like it is creating a list and it is outputting a list

 

[UT] Money Hud (ADD TOP RIGHT) V3 [script:Sensor] Script run-time error
Lists may not contain lists

 

 

integer debug = FALSE;

key avKey;

list ListKey;

string avName;

 

//========================================\\

default / state_entry()

//========================= ===============\\

 

 

    sensor(integer iNum)
    {
        integer p = 0;
        for (p = 0; p < iNum; ++p)
        {
            avKey = llDetectedKey(p);
            //ListKey = ListKey + avKey;
            avName = llKey2Name(avKey);
            //ListKey = ListKey + avName;
            ListKey += avName;
            //llOwnerSay("Name Added");
        }
        if(debug)
        {
            llOwnerSay(llDumpList2String(ListKey,"~"));
        }
        if(!debug)
        {
            llDialog(llGetOwner()," ", [ListKey] , -99);
        }
           
        //llMessageLinked(LINK_THIS, 546,llDumpList2String(ListKey,"-"), "");
        ListKey = [];
    }

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3870 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...