Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/Input-loop/LSL/input-loop.lsl
Normal file
16
Task/Input-loop/LSL/input-loop.lsl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
string sNOTECARD = "Input_Loop_Data_Source.txt";
|
||||
default {
|
||||
integer iNotecardLine = 0;
|
||||
state_entry() {
|
||||
llOwnerSay("Reading '"+sNOTECARD+"'");
|
||||
llGetNotecardLine(sNOTECARD, iNotecardLine);
|
||||
}
|
||||
dataserver(key kRequestId, string sData) {
|
||||
if(sData==EOF) {
|
||||
llOwnerSay("EOF");
|
||||
} else {
|
||||
llOwnerSay((string)iNotecardLine+": "+sData);
|
||||
llGetNotecardLine(sNOTECARD, ++iNotecardLine);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue