Pre-Alpha Zeta Script

provides a tricksplit with F, triplesplit with V, Double Split D, Popsplit R, Q Macro Feed & Radio( Press Shift to Pause and play. Left and right arrow Keys to to change stations Up and down to change Volume

  1. // ==UserScript==
  2. // @name Pre-Alpha Zeta Script
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description provides a tricksplit with F, triplesplit with V, Double Split D, Popsplit R, Q Macro Feed & Radio( Press Shift to Pause and play. Left and right arrow Keys to to change stations Up and down to change Volume
  6. // @author Nexus and Other people
  7. // @match http://alis.io/
  8. // @match http://Gota.io/
  9. // @match http://Agar.io/
  10. // @match http://back.alis.io/
  11. // @grant none
  12. // @run-at document-end
  13. // ==/UserScript==
  14. var radioIndex = 0;
  15. var radios = [
  16. "http://frshoutcast.comunicazion.eu:8815/;",
  17. "http://pulseedm.cdnstream1.com:8124/1373_128",
  18. "http://uk1.internet-radio.com:8118/stream",
  19. "http://stream2.dancewave.online:8080/dance.mp3",
  20. "http://176.31.240.87:8000/rp.mp3",
  21. "http://5.39.71.159:8430/stream",
  22. "http://89.105.32.27/beat128.mp3?icy=http"
  23. ];
  24. $("body").append("<audio id='radio' src='http://stream2.dancewave.online:8080/dance.mp3'></audio>");
  25. $("#chatroom").css("height", "300px");
  26. window.addEventListener('keydown', keydown);
  27. window.addEventListener('keyup', keyup);
  28. var Feed = false;
  29. var Dingus = false;
  30. var Goddamn = 25;
  31. function keydown(event) {
  32. switch(event.keyCode) {
  33. case 16:
  34. if (document.getElementById("radio").paused) {
  35. document.getElementById("radio").play();
  36. } else {
  37. document.getElementById("radio").pause();
  38. }
  39. case 38:
  40. document.getElementById("radio").volume += 0.1;
  41. break;
  42. case 40:
  43. document.getElementById("radio").volume -= 0.1;
  44. break;
  45. case 37:
  46. if (--radioIndex <= 0) {
  47. radioIndex = radios.length-1;
  48. }
  49. $("#radio").attr("src", radios[radioIndex]);
  50. document.getElementById("radio").play();
  51. break;
  52. case 39:
  53. if (++radioIndex == radios.length) {
  54. radioIndex = 0;
  55. }
  56. $("#radio").attr("src", radios[radioIndex]);
  57. document.getElementById("radio").play();
  58. break;
  59. }
  60. if (event.keyCode == 81) {
  61. Feed = true;
  62. setTimeout(Fucking, Goddamn);
  63. } // Tricksplit
  64. if (event.keyCode == 70) {
  65. Bullshit();
  66. setTimeout(Bullshit, Goddamn);
  67. setTimeout(Bullshit, Goddamn*2);
  68. setTimeout(Bullshit, Goddamn*3);
  69. } // Triplesplit
  70. if (event.keyCode == 86) {
  71. Bullshit();
  72. setTimeout(Bullshit, Goddamn);
  73. setTimeout(Bullshit, Goddamn*2);
  74. } // Doublesplit
  75. if (event.keyCode == 68) {
  76. Bullshit();
  77. setTimeout(Bullshit, Goddamn);
  78. } // Split
  79. if (event.keyCode == 49) {
  80. Bulltshit();
  81. } // PopSplit
  82. if (event.keyCode == 82) {
  83. Bullshit();
  84. setTimeout(Bullshit, Goddamn*5.32232210323424323);
  85. }
  86. }// When Player Lets Go Of Q, It Stops Feeding
  87. function keyup(event) {
  88. if (event.keyCode == 81) {
  89. Feed = false;
  90. }
  91. if (event.keyCode == 79) {
  92. Dingus = false;
  93. }
  94. }
  95. // Feed Macro With Q
  96. function Fucking() {
  97. if (Feed) {
  98. window.onkeydown({keyCode: 87});
  99. window.onkeyup({keyCode: 87});
  100. setTimeout(Bullshit, Goddamn);
  101. }
  102. }
  103. function Bullshit() {
  104. $("body").trigger($.Event("keydown", { keyCode: 32}));
  105. $("body").trigger($.Event("keyup", { keyCode: 32}));
  106. }