Sprechwunsch Police

This commit is contained in:
2018-11-24 15:26:13 +01:00
parent 644b3b09af
commit df57183f30
3 changed files with 7 additions and 57 deletions

31
dist/autoloader.js vendored
View File

@@ -1,4 +1,4 @@
/*Generated on:Sat Nov 24 2018 15:24:14 GMT+0100 (CET)*/
/*Generated on:Sat Nov 24 2018 15:26:12 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime();
@@ -6411,8 +6411,8 @@ ADisDB.on("ready", () => {
}).delete();
}
$(document).ready(function () {
setInterval(ADis_CollectPoliceSprechwuensche, 7500);
setInterval(ADis_OpenNextPoliceSprechwunsch, 7500);
setInterval(ADis_CollectPoliceSprechwuensche, 5000);
setInterval(ADis_OpenNextPoliceSprechwunsch, 5000);
ADis_CollectPoliceSprechwuensche();
});
@@ -6485,31 +6485,6 @@ ADisDB.on("ready", () => {
done: 'true'
}).catch((err) => {})
}
/**
* #mission_missing_905214286
* //*[@id="mission_missing_905214286"]
*
* const regex = /^Gefangene sollen abtransportiert werden\.$/gmu;
const str = `Alarm Massenschlägerei, Uferweg, 27749 Düsternort Delmenhorst
Gefangene sollen abtransportiert werden.
Sophie V.
Anna T.
Franziska M.`;
let m;
while ((m = regex.exec(str)) !== null) {
// This is necessary to avoid infinite loops with zero-width matches
if (m.index === regex.lastIndex) {
regex.lastIndex++;
}
// The result can be accessed through the `m`-variable.
m.forEach((match, groupIndex) => {
console.log(`Found match, group ${groupIndex}: ${match}`);
});
}
*/
}
// -

2
dist/standalone.js vendored
View File

@@ -1,4 +1,4 @@
/*Generated on:Sat Nov 24 2018 15:24:14 GMT+0100 (CET)*/
/*Generated on:Sat Nov 24 2018 15:26:12 GMT+0100 (CET)*/
function includesString(string1, string2) {
return string1.toLowerCase().includes(string2.toLowerCase());
}

View File

@@ -1,6 +1,6 @@
$(document).ready(function () {
setInterval(ADis_CollectPoliceSprechwuensche, 7500);
setInterval(ADis_OpenNextPoliceSprechwunsch, 7500);
setInterval(ADis_CollectPoliceSprechwuensche, 5000);
setInterval(ADis_OpenNextPoliceSprechwunsch, 5000);
ADis_CollectPoliceSprechwuensche();
});
@@ -72,29 +72,4 @@ function ADis_UpdatePoliceSprechwunschToDone(WunschID) {
missionID: WunschID,
done: 'true'
}).catch((err) => {})
}
/**
* #mission_missing_905214286
* //*[@id="mission_missing_905214286"]
*
* const regex = /^Gefangene sollen abtransportiert werden\.$/gmu;
const str = `Alarm Massenschlägerei, Uferweg, 27749 Düsternort Delmenhorst
Gefangene sollen abtransportiert werden.
Sophie V.
Anna T.
Franziska M.`;
let m;
while ((m = regex.exec(str)) !== null) {
// This is necessary to avoid infinite loops with zero-width matches
if (m.index === regex.lastIndex) {
regex.lastIndex++;
}
// The result can be accessed through the `m`-variable.
m.forEach((match, groupIndex) => {
console.log(`Found match, group ${groupIndex}: ${match}`);
});
}
*/
}