Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- key notecard = "dc3b6cec-adf4-24ec-d1b1-1cf0b59a820d";
- key query;
- integer counter;
- default
- {
- state_entry()
- {
- query = llGetNotecardLine(notecard,counter);
- }
- dataserver(key q, string data){
- if(q == query){
- if(data!=EOF){
- data = llStringTrim(data,STRING_TRIM);
- if(data){
- llOwnerSay(data);
- }
- query = llGetNotecardLine(notecard,counter++);
- }
- else{
- llOwnerSay("Finished reading the card");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment