Lumiz Macro V3

Pulsa X Para 16 Espacios

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Lumiz Macro V3
// @namespace    Macro Split
// @version      0.01
// @description  Pulsa X Para 16 Espacios
// @author       Lumiz (Isaac)
// @license      LC0
// @match        http://c0nsume.me
// @match        http://c0nsume.me/index.php
// @grant        none
// @run-at       document-end
// ==/UserScript==

(function() {
    var amount = 12;
    var duration = 60; //ms

    var overwriting = function(evt) {
        if (evt.keyCode === 88) { // KEY_X
            for (var i = 0; i < amount; ++i) {
                setTimeout(function() {
                    window.onkeydown({keyCode: 32}); // KEY_SPACE
                    window.onkeyup({keyCode: 32});
                }, i * duration);
            }
        }
    };

    window.addEventListener('keydown', overwriting);
})();
// ==UserScript==
// @name         DOUBLE SPLIT
// @namespace    Macro Split
// @version      0.01
// @description  Pulsa Z Para 16 Espacios
// @author       Harambe af
// @license      LC0
// @match        http://c0nsume.me
// @match        http://c0nsume.me/index.php
// @grant        none
// @run-at       document-end
// ==/UserScript==

(function() {
    var amount = 2;
    var duration = 40; //ms

    var overwriting = function(evt) {
        if (evt.keyCode === 68) { // KEY_D
            for (var i = 0; i < amount; ++i) {
                setTimeout(function() {
                    window.onkeydown({keyCode: 32}); // KEY_SPACE
                    window.onkeyup({keyCode: 32});
                }, i * duration);
            }
        }
    };

    window.addEventListener('keydown', overwriting);
})();