您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
MINI Bot to MPP
- // ==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() + "].")
- }