Needs a lot of cleanup. Data has been de-duplicated, and where identical copies existed, one of them has been replaced with a symlink. Some files have been excluded, such as binaries, installers and debug dumps. Some of that may still be present.
18 lines
No EOL
359 B
JavaScript
18 lines
No EOL
359 B
JavaScript
var messageIndex = 1;
|
|
|
|
var messageRate = 500;
|
|
function sendMessage(){
|
|
print('SENDING MESSAGE')
|
|
Messages.sendMessage('messageTest',messageIndex)
|
|
messageIndex++;
|
|
}
|
|
|
|
function cleanup(){
|
|
Script.clearInterval(messageInterval);
|
|
}
|
|
|
|
var messageInterval = Script.setInterval(function(){
|
|
sendMessage();
|
|
},messageRate);
|
|
|
|
Script.scriptEnding.connect(cleanup); |