🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

LessonUp Bot

A bot script for LessonUp

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

// ==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();
        }
    })();
})();