42 lines
1.4 KiB
JavaScript
Executable File
42 lines
1.4 KiB
JavaScript
Executable File
// ============================================
|
|
// motd.js - Optimized
|
|
// ============================================
|
|
(function() {
|
|
'use strict';
|
|
|
|
const motds = [
|
|
"Gloire à Titebouille!",
|
|
"On dit chocolatine ici!",
|
|
"C'est un MOTD ça?",
|
|
"Je vais vous ciscoter!",
|
|
"Belgian gooner femboy ahhh",
|
|
"Miku cosplay UwU",
|
|
"Nothing to see",
|
|
"If it's stupid but works, then it's not stupid",
|
|
"Wait, you're playing Unturned?!",
|
|
"Revert to Aquaba!",
|
|
"Cherche GOTHIQUES svp :(",
|
|
"Vous m'ouvrez Packet Tracer.",
|
|
"Gooner Land",
|
|
"QT va te faire foutre",
|
|
"J'aime l'informatique vu que je suis obligé",
|
|
"Allo à l'huile",
|
|
"On à cours dans le local technique",
|
|
"Je suis pas con, je suis autiste",
|
|
"Toni aime bien penser que son café est italien.",
|
|
"C'est une violation de la loi Sherman",
|
|
"Le kernel cisco packet ryzen dragon s24+ c'est pour quand ?",
|
|
"Hacheur - HkmGZ",
|
|
"Met un PEKKA! Nan, CT3000+L!",
|
|
];
|
|
|
|
const motdIndex = Math.floor(Date.now() / (1000 * 60 * 60 * 24)) % motds.length;
|
|
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
const motdElement = document.getElementById("motd");
|
|
if (motdElement) {
|
|
motdElement.textContent = motds[motdIndex];
|
|
}
|
|
});
|
|
})();
|