ChatVisionZ Spam Bot

Spamma quello che vuoi su ChatVisionZ.com

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

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