ChatVisionZ Spam Bot

Spamma quello che vuoi su ChatVisionZ.com

Tính đến 25-06-2024. Xem phiên bản mới nhất.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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

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

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

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

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name ChatVisionZ Spam Bot
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Spamma quello che vuoi su ChatVisionZ.com
// @author Mr-Zanzibar
// @match *://chatvisionz.com/*
// @license MIT
// @grant none
// ==/UserScript==

let messageCount = 0;
const messages = ['INSERISCI-IL-MESAGGIO-QUI', 'INSERISCI-IL-MESAGGIO-QUI']; // messaggi da inviare (non lo avevi capito?)

async function spam() {
    try {
        const chatInput = document.getElementById('messageInput');
        const sendButton = document.getElementById('send');
        const nextButton = document.getElementById('next');

        if (!chatInput || !sendButton || !nextButton) {
            console.error("Impossibile trovare gli elementi della chat.");
            console.log('%Reporta questo errore nella pagina ufficiale di Github: https://github.com/Mr-Zanzibar/ChatVisionZ-SpamBot', 'color: magenta; font-weight: bold;');
        }

        if (messageCount < messages.length) { // Controlla se sono stati inviati entrambi i messaggi
            chatInput.value = messages[messageCount];
            sendButton.click();
            console.log('%cMessaggio inviato: ' + messages[messageCount], 'color: green; font-weight: bold;');
            messageCount++;
        } else {
            nextButton.click();
            messageCount = 0; // Resetta per ricominciare
            console.log('%cProssima Chat', 'color: blue;');
        }
    } catch (error) {
        console.error("Errore durante lo spam:", error);
        setTimeout(spam, 2000); // Riprova dopo 2 secondi in caso di errore
    }
}

// Intervallo di 3 secondi
const spamInterval = setInterval(spam, 3000);