Advertisement
Guest User

Untitled

a guest
Jun 4th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if (responseid==loadingresponseId)
  2.         {
  3.             string sUnescapedBody = llStringTrim(llUnescapeURL(body), STRING_TRIM);
  4.             body=""; //clear mem
  5.                 if (sUnescapedBody != "")
  6.                 {
  7.                     list temp = llParseString2List("\"," + sUnescapedBody + ",\"", ["\",\""],[""]);
  8.                     sUnescapedBody="";//clear mem
  9.                     llOwnerSay("debug full: "+ llDumpList2String(temp, " "));
  10.                     WaveFilesToPlay = llCSV2List(llList2String(temp, 0));
  11.                     TotalWaveFiles = llGetListLength(WaveFilesToPlay);
  12.                     llOwnerSay(llGetScriptName() + ": " + (string)TotalWaveFiles +" total new soundfiles loaded.");                    
  13.  
  14.                     string Featuretmp=llList2String(temp,1);
  15. //                    llOwnerSay((string)llCSV2List(llList2String(temp, 1)));
  16. //                    Feature=llParseString2List(Featuretmp, [","], [","]);
  17. //                    Feature=llCSV2List(llList2String(temp, 1));
  18.                     Feature=((list)Featuretmp);
  19. //                    string Featuretmp2=llDumpList2String(Feature, ", ");
  20. //                    Feature=llCSV2List(Featuretmp2);
  21. //                    string Featuretmp3=llDumpList2String(Feature, ", ");
  22. //                    Feature=llParseString2List(Featuretmp3, [","], [","]);
  23.                    
  24.  
  25.                     llOwnerSay("final output: " + (string)Feature);
  26.                     Featuretmp="";//clear mem
  27. //                    Featuretmp2="";//clear mem
  28. //                    Featuretmp3="";//clear mem                    
  29.                     temp=[]; //clear mem
  30.                     Playing=1;    
  31.                     llStopSound();
  32.                     llSetTimerEvent(0.1);                    
  33.                     llOwnerSay("debug Waves: "+ llDumpList2String(WaveFilesToPlay, " "));
  34.                     //llOwnerSay("debug Feature "+ llDumpList2String(Feature, ", "));
  35.                         if (Feature!=["NULL"]  || (llGetListLength(Feature)))
  36.                         {
  37.                             particles=1;
  38.                                 if (particles) {
  39.                                     llOwnerSay("Visual effects activated");                                    
  40.                                     llParticleSystem(Feature);
  41. //                                    llParticleSystem([(string)Feature]);
  42.                                 }
  43.                         } else particles=0;
  44.                 }
  45.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement