NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Message Recorder for Multiplayer Piano // @namespace http://tampermonkey.net/ // @version 0.1 // @description Record any messages // @author SopaPlay // @match http://www.multiplayerpiano.com/* // @grant none // ==/UserScript== (function() { 'use strict'; // Setup var messages = new Arrary(); MPP.client.on('a', function (msg) {messages.push(msg.a);}); MPP.client.on('a', function (msg) {if (msg.a == '!play') messages.forEach((record)=>{MPP.chat.send(record);});}); })();