Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dataserver( key queryid, string data )
- {
- if(queryid == read_key)
- {
- integer count = (integer) data;
- integer index;
- for(index = 0; index < (count+1); ++index)
- {
- string line = llGetNotecardLineSync("!Playlists", index);
- if(line == NAK)
- {
- DS("NAK");
- }
- else if(line == EOF)
- {
- DS("Notecard Loaded in " + getTime((integer) llGetTime()));
- state running;
- }
- else
- {
- DS((string) index +" " + line);
- llSetText((string) index+"/"+(string) count, RED, TRUE);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement