Sprechwunsch Police
This commit is contained in:
31
dist/autoloader.js
vendored
31
dist/autoloader.js
vendored
@@ -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_Branch = "master";
|
||||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||||
var da_lss_adis_time = new Date().getTime();
|
var da_lss_adis_time = new Date().getTime();
|
||||||
@@ -6411,8 +6411,8 @@ ADisDB.on("ready", () => {
|
|||||||
}).delete();
|
}).delete();
|
||||||
}
|
}
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
setInterval(ADis_CollectPoliceSprechwuensche, 7500);
|
setInterval(ADis_CollectPoliceSprechwuensche, 5000);
|
||||||
setInterval(ADis_OpenNextPoliceSprechwunsch, 7500);
|
setInterval(ADis_OpenNextPoliceSprechwunsch, 5000);
|
||||||
ADis_CollectPoliceSprechwuensche();
|
ADis_CollectPoliceSprechwuensche();
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -6485,31 +6485,6 @@ ADisDB.on("ready", () => {
|
|||||||
done: 'true'
|
done: 'true'
|
||||||
}).catch((err) => {})
|
}).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
2
dist/standalone.js
vendored
@@ -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) {
|
function includesString(string1, string2) {
|
||||||
return string1.toLowerCase().includes(string2.toLowerCase());
|
return string1.toLowerCase().includes(string2.toLowerCase());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
setInterval(ADis_CollectPoliceSprechwuensche, 7500);
|
setInterval(ADis_CollectPoliceSprechwuensche, 5000);
|
||||||
setInterval(ADis_OpenNextPoliceSprechwunsch, 7500);
|
setInterval(ADis_OpenNextPoliceSprechwunsch, 5000);
|
||||||
ADis_CollectPoliceSprechwuensche();
|
ADis_CollectPoliceSprechwuensche();
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -73,28 +73,3 @@ function ADis_UpdatePoliceSprechwunschToDone(WunschID) {
|
|||||||
done: 'true'
|
done: 'true'
|
||||||
}).catch((err) => {})
|
}).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}`);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
Reference in New Issue
Block a user