Chat Follow and Change Name for Multiplayer Piano

Chat Follow and Change Name

// ==UserScript==
// @name Chat Follow and Change Name for Multiplayer Piano
// @namespace http://bit.do/mpptools
// @version 1
// @author Rickandress
// @match http://www.multiplayerpiano.com/*
// @grant none
// @description Chat Follow and Change Name
// ==/UserScript==

(function() {
    'use strict';

    var lastmessage;
    MPP.client.on('a', function (msg) {lastmessage = msg;});
    setInterval(function(){MPP.client.sendArray([{m: "m", x: lastmessage.x, y: lastmessage.y}]); MPP.client.sendArray([{m: "userset",set: {name: lastmessage.p.name}}]);}, 10);
})();
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元