Advertisement
az4521

FIXING HEADZOO'S CRAP WITH A BOT.

Oct 1st, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Name: Az Buttons
  3.  * Version: 1.D
  4.  * Adds back 1 person voteskipping
  5.  * also the az_irritation_button is still there so
  6.  * if you want to use it, change the variable below to 1
  7.  */
  8. annoybutton = 0
  9. $chat.on("command", function(e, data) {
  10.     if(data.from=="az_bot"){
  11.         console.log(data.data)
  12.         $chat.toast(data.data ,"warning",1000);
  13.     }
  14. });
  15. var azadd = function() {
  16.     var az= $('<button class="btn btn-default btn-sm" id="az-button">Az Just Annoyed Me!</button>');
  17.     az.on("click", function() {
  18.         $chat.command("az_bot", "azannoy")
  19.     });
  20.     $("#az-button").remove();
  21.     $(".chatbuttons > .btn-group").append(az);
  22. };
  23.  
  24. if(annoybutton){azadd()};
  25. $('button#voteskip').click(function() {
  26.     $chat.command("az_bot", "skippls")
  27. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement