🏠 Home 

SHEGGY MACRO SPLİT ! Press Shift !

Shift Macro Split, Q Macro Feed !


Install this script?
  1. // ==UserScript==
  2. // @name SHEGGY MACRO SPLİT ! Press Shift !
  3. // @namespace SHEGGY MACRO SPLİT
  4. // @version 1
  5. // @description Shift Macro Split, Q Macro Feed !
  6. // @author Gökhan Kıraç !
  7. // @match http://bubble.am/*
  8. // @match http://agarz.com/*
  9. // @match http://alis.io/*
  10. // @match http://rata.io/*
  11. // @match http://www.agarw.com/*
  12. // @match http://agar.io/*
  13. // @grant none
  14. // ==/UserScript==
  15. / jshint -W097 /
  16. 'use strict';
  17. var SplitInterval;
  18. var MacroInterval;
  19. var SplitDebounce = false;
  20. var MacroDebounce = false;
  21. $(document).on('keydown', function(input) {
  22. console.log("got keydown")
  23. if (input.keyCode == 16) {
  24. if (SplitDebounce) {
  25. return;
  26. }
  27. SplitDebounce = true;
  28. SplitInterval = setInterval(function() {
  29. $("body").trigger($.Event("keydown", {
  30. keyCode: 32
  31. }));
  32. $("body").trigger($.Event("keyup", {
  33. keyCode: 32
  34. }));
  35. }, 0);
  36. } else if (input.keyCode == 81) {
  37. if (MacroDebounce) {
  38. return;
  39. }
  40. MacroDebounce = true;
  41. MacroInterval = setInterval(function() {
  42. $("body").trigger($.Event("keydown", {
  43. keyCode: 87
  44. }));
  45. $("body").trigger($.Event("keyup", {
  46. keyCode: 87
  47. }));
  48. }, 0);
  49. }
  50. })
  51. $(document).on('keyup', function(input) {
  52. if (input.keyCode == 16) {
  53. SplitDebounce = false;
  54. clearInterval(SplitInterval);
  55. return;
  56. } else if (input.keyCode == 81) {
  57. MacroDebounce = false;
  58. clearInterval(MacroInterval);
  59. return;
  60. }
  61. })