// ==UserScript== // @name Agario Mass - Q // @namespace Macro! // @version 0.5 // @description Very fast macro to enhance gameplay! // @author Unknown // @match http://agario.link/ // @grant none // @downloadURL none // ==/UserScript== var interval; var switchy = false; $(document).on('keydown',function(e){ if(e.keyCode == 69){ if(switchy){ return; } switchy = true; interval = setInterval(function() { $("body").trigger($.Event("keydown", { keyCode: 87})); $("body").trigger($.Event("keyup", { keyCode: 87})); }, 3);//increase this number to make it fire them out slower } }) $(document).on('keyup',function(e){ if(e.keyCode == 69){ switchy = false; clearInterval(interval); return; } }) var f5 = setInterval(chat,100); function chat(){ document.getElementById("chat_textbox").onkeyup = function() { if (this.value == "1") { this.value = "Virus him!"; } if (this.value == "2") { this.value = "Load me!"; } if (this.value == "3") { this.value = "Split him!"; } } }