Greasy Fork

Decent Macro

Macro splits + Macro Feed

目前为 2016-10-23 提交的版本。查看 最新版本

// ==UserScript==
// @name         Decent Macro
// @namespace    http://tampermonkey.net/
// @version      1.1
// @author       Eclipse
// @match        http://abs0rb.me/*
// @match        http://germs.io/*
// @match        http://agarabi.com/*
// @match        http://agarly.com/*
// @match        http://en.agar.bio/*
// @match        http://agar.io/*
// @match        http://agar.biz/*
// @match        http://micos.io/*
// @grant        none
// @run-at       document-end
// @description Macro splits + Macro Feed
// ==/UserScript==
window.addEventListener('keydown', keydown);
window.addEventListener('keyup', keyup);
var Feed = false;
var Dingus = false;
var imnotlost = 25;
load();
function keydown(event) {
    if (event.keyCode == 81) {
        Feed = true;
        setTimeout(suckdickonaccident, imnotlost);
    } // Tricksplit
    if (event.keyCode == 69 || event.keyCode == 52) { //( ͡° ͜ʖ ͡°)
        ihatevalid();
        setTimeout(ihatevalid, imnotlost);
        setTimeout(ihatevalid, imnotlost*2);
        setTimeout(ihatevalid, imnotlost*3);
    } // Triplesplit
    if (event.keyCode == 51 || event.keyCode == 65) {
        ihatevalid();
        setTimeout(ihatevalid, imnotlost);
        setTimeout(ihatevalid, imnotlost*2);
    } // Doublesplit
    if (event.keyCode == 68 || event.keyCode == 50) {
        ihatevalid();
        setTimeout(ihatevalid, imnotlost);
    } // Split
    if (event.keyCode == 49) {
        ilikedick();
    }
} // When Player Lets Go Of Q, It Stops Feeding
function keyup(event) {
    if (event.keyCode == 81) {
        Feed = false;
    }
    if (event.keyCode == 79) {
        Dingus = false;
    }
}
// Feed Macro With Q
function suckdickonaccident() {
    if (Feed) {
        window.onkeydown({keyCode: 87});
        window.onkeyup({keyCode: 87});
        setTimeout(suckdickonaccident, imnotlost);
    }
}
function ihatevalid() {
    $("body").trigger($.Event("keydown", { keyCode: 32}));
    $("body").trigger($.Event("keyup", { keyCode: 32}));
}
//Looking through the code now are we? ( ͡° ͜ʖ ͡°)