Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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