Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Hri's MPP bot
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Uses object-oriented commands.
// @author You
// @match http://www.multiplayerpiano.com/*
// @grant none
// ==/UserScript==
float flimit(float n, float low, float high)
{
return max(min(n, high), low);
}
float fmap(float n, float start1, float stop1, float start2, float stop2)
{
float newval = (n - start1) / (stop1 - start1) * (stop2 - start2) + start2;
if (start2 < stop2)
// ==UserScript==
// @name Eval
// @namespace Violentmonkey Scripts
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 4/21/2023, 7:12:33 AM
// ==/UserScript==
// ==UserScript==
// @name Gigachad Template
// @namespace Violentmonkey Scripts
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 11/9/2023, 10:33:05 PM
// ==/UserScript==
// ==UserScript==
// @name Wii Cursor
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Wii cursor for MPP
// @author Hri7566
// @match https://mppclone.com/*
// @match https://multiplayerpiano.com/*
// @match https://multiplayerpiano.net/*
// @match https://www.multiplayerpiano.org/*
// ==UserScript==
// @name Hri7566's PrismaticMPP
// @namespace Violentmonkey Scripts
// @match https://mppclone.com/*
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 2/25/2023, 6:52:16 PM
// ==/UserScript==
// ==UserScript==
// @name GlassMPP
// @namespace Violentmonkey Scripts
// @match https://mppclone.com/*
// @match https://www.multiplayerpiano.org/*
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 8/12/2023, 4:53:24 PM
// ==UserScript==
// @name Jacored banned words fix
// @namespace Violentmonkey Scripts
// @match *://multiplayerpiano.com/*
// @match *://*.multiplayerpiano.com/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 10/5/2023, 10:02:52 AM
// ==/UserScript==
@Hri7566
Hri7566 / notdumdum.md
Created September 25, 2023 16:42
How to install node on a Linux server without being a dumdum

How to install node on a Linux server without being a dumdum

I keep having people login to my VPS and use node the wrong way. This document is to stop people from trying to install it with apt and do crazy things with npm that don't make sense.

Install fnm

Do not use the version of node from apt. It is older than the Pyramids of Giza. Instead, use fnm.

$ curl -fsSL https://fnm.vercel.app/install | bash
// ==UserScript==
// @name Sideways Piano
// @namespace Violentmonkey Scripts
// @match https://mppclone.com/*
// @match https://multiplayerpiano.org/*
// @match https://smnmpp.hri7566.info/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 9/12/2023, 8:55:33 PM