|
Aniam Ingmann
llOwnage(float pwnage);
Join date: 22 Oct 2005
Posts: 206
|
12-02-2007 09:47
How would I have something read a random notecard from the inventory, and load the contents of the notecard into a list? (I know it would involve llCSV2List(), because I plan on having all the contents of the notecard separated by commas...) I've got this set up for the notecard reading, but I'm not sure how to just read all the lines and save it to the list..? From: someone dataserver(key queryid, string data) { if (dataRequestID) { if (data != EOF) { dataRequestID = llGetNotecardLine(notecardName, lineCounter); lineCounter += 1;
....
_____________________
From: someone Don't worry, Aniam is here! - Noob
|
|
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
|
12-02-2007 10:13
list LoadedList
dataserver(key queryid, string data) { if (dataRequestID) { if (data != EOF) {
// Added this line to continue to append the comma seperated lines from the notecard // to the LoadedList LIST LoadedList=LoadedList + llParseString2List(data,[","],[]);
dataRequestID = llGetNotecardLine(notecardName, lineCounter); lineCounter += 1;
|