Mrc Homewood Posted February 13, 2014 Share Posted February 13, 2014 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 errorLists 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 More sharing options...
Dora Gustafson Posted February 13, 2014 Share Posted February 13, 2014 [ListKey] is a list containing a list but you are not allowed to do that in LSL This script of yours can not work If it worked two days ago you must have changed it :smileysurprised::smileyvery-happy: 1 Link to comment Share on other sites More sharing options...
steph Arnott Posted February 13, 2014 Share Posted February 13, 2014 default / state entry () the slash line is a fault also there is no { to enter the sensor event and no closing } at the end of that script, unless there is more that was not posted. As Dore said also. Link to comment Share on other sites More sharing options...
revochen Mayne Posted February 14, 2014 Share Posted February 14, 2014 You are trying to pass ListKey inside a list as a parameter for the llDialog function: llDialog(llGetOwner()," ", [ListKey] , -99); But ListKey is a list already so it needs to be: llDialog(llGetOwner()," ", ListKey , -99); Link to comment Share on other sites More sharing options...
Dora Gustafson Posted February 14, 2014 Share Posted February 14, 2014 In case nobody noticed the first time :smileysurprised::smileyvery-happy: 1 Link to comment Share on other sites More sharing options...
revochen Mayne Posted February 14, 2014 Share Posted February 14, 2014 wasn't me! :smileylol: Link to comment Share on other sites More sharing options...
Mrc Homewood Posted February 15, 2014 Author Share Posted February 15, 2014 wow... how did I miss that the little things that slip threw the cracks lol Link to comment Share on other sites More sharing options...
steph Arnott Posted February 16, 2014 Share Posted February 16, 2014 You did not let it slip thru, you did not know. 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