Advertisement
Madi_Perth

Untitled

Mar 30th, 2024
995
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Linden Scripting 0.81 KB | Source Code | 0 0
  1.     dataserver( key queryid, string data )
  2.     {
  3.         if(queryid == read_key)
  4.         {
  5.             integer count = (integer) data;
  6.             integer index;
  7.  
  8.             for(index = 0; index < (count+1); ++index)
  9.             {
  10.                 string line = llGetNotecardLineSync("!Playlists", index);
  11.                 if(line == NAK)
  12.                 {
  13.                     DS("NAK");
  14.                 }
  15.                 else if(line == EOF)
  16.                 {
  17.                     DS("Notecard Loaded in " + getTime((integer) llGetTime()));
  18.  
  19.                     state running;
  20.                 }
  21.                 else
  22.                 {
  23.                     DS((string) index +" " + line);
  24.                     llSetText((string) index+"/"+(string) count, RED, TRUE);
  25.                 }
  26.             }
  27.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement