LessonUp Bot

A bot script for LessonUp

Versione datata 25/02/2025. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         LessonUp Bot
// @namespace    http://your-namespace-here
// @version      0.1
// @description  A bot script for LessonUp
// @author       Your Name
// @match        *://*/*
// @license      MIT
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    let Running = true;

    function sleep(ms) {
        return new Promise(resolve => setTimeout(resolve, ms));
    }

    async function Intro() {
        console.log("Welcome to LessonUp Bot!!!");
        await sleep(1500);
        console.log("This bot is able to perform");
        await sleep(1500);
        console.log("A lot of actions really fast");
        await sleep(1500);
        console.log("It is able to answer randomly.");
        await sleep(1500);
        console.log("And give custom answers");
        await sleep(2500);
        console.log("Start-Up Complete");
        await sleep(1000);
        console.log("This is a list of all the commands.");
        await sleep(1000);
        console.log("Type the number of your command.");
        await sleep(1000);
        console.log("And you will go to the menu of your command!");
        console.log("");
    }

    function CommandList() {
        console.log("1. Flooder (Fills the Lesson-Up with bots that give random answers.)");
        console.log("");
        console.log("To stop type stop.");
    }

    async function MainMenu() {
        CommandList();
        const UserInput = prompt("Enter the number of your command:");
        if (UserInput && UserInput.toLowerCase() === "stop") {
            Running = false;
        } else if (UserInput) {
            const UserInputNum = parseInt(UserInput);
            // Add logic for handling user input
        }
    }

    (async function() {
        await Intro();
        await sleep(3000);
        while (Running) {
            await MainMenu();
        }
    })();
})();