Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Name: Az Buttons
- * Version: 1.D
- * Adds back 1 person voteskipping
- * also the az_irritation_button is still there so
- * if you want to use it, change the variable below to 1
- */
- annoybutton = 0
- $chat.on("command", function(e, data) {
- if(data.from=="az_bot"){
- console.log(data.data)
- $chat.toast(data.data ,"warning",1000);
- }
- });
- var azadd = function() {
- var az= $('<button class="btn btn-default btn-sm" id="az-button">Az Just Annoyed Me!</button>');
- az.on("click", function() {
- $chat.command("az_bot", "azannoy")
- });
- $("#az-button").remove();
- $(".chatbuttons > .btn-group").append(az);
- };
- if(annoybutton){azadd()};
- $('button#voteskip').click(function() {
- $chat.command("az_bot", "skippls")
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement