bot666

MINI Bot to MPP

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

You will need to install an extension such as Tampermonkey to install this 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         bot666
// @namespace    https://greasyfork.org/
// @version      0.2
// @description  MINI Bot to MPP
// @author       deorema33- doomka
// @icon         https://mpphust.ga/assets/icon%20(48).png
// @include      *://multiplayerpiano.com/*
// @include      *://mppclone.com/*
// @include      *://mpp.terrium.net/*
// @include*://piano.ourworldofpixels.com/*
// @grant        none
// ==/UserScript==


if ((adminarray.indexOf(msg.p._id) > - 1) || (msg.p._id == MPP.client.getOwnParticipant()._id)) { // Admin command.
    if (cmd == "/name1") {
        MPP.client.sendArray([{m: "userset", set: {
            name: "ADMIN BOT 666 Bot. [ /info ]",
            color: "#ff5c5c"
        }
}])
    }
   }
if ((adminarray.indexOf(msg.p._id) > - 1) || (msg.p._id == MPP.client.getOwnParticipant()._id)) { // Admin command.
    if (cmd == "/BSoD") {
        MPP.client.sendArray([{m: "userset", set: {
            name: "BSoD",
            color: "#0033ff"
        }
}])
    }
   }
// Buy... commands.
if (cmd == "/666") {
    MPP.chat.send(msg.p.name + " 666: " + msg.a.substring(5).trim() + ". " + words[random])
}
if (cmd == "/kill") {
    MPP.chat.send(msg.p.name + " death: " + msg.a.substring(5).trim() + ".")
}
if (cmd == "/000") {
    MPP.ban.send(msg.p.name + " banned: " + msg.a.substring(5).trim() + ".")
}
if (cmd == "/say") {
    MPP.chat.send("say: " + "[" + msg.a.substring(6).trim() + "].")
}