Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Some Ball Informer
- // @description Tell off some balls
- // @include http://maptest.newcompte.fr/groups/*
- // @include http://maptest2.newcompte.fr/groups/*
- // @version 0.1
- // ==/UserScript==
- function myScript()
- {
- var time = 200;
- var $button = $("<button />");
- $button.text("Tell off Some Balls");
- $button.click(function() {
- tagpro.group.socket.emit("chat", "If you are a \"Some Ball\", leave the group, click the \"Log In\" button on the home page, log in, click the \"Profile\" butto");
- setTimeout(function() {
- tagpro.group.socket.emit("chat", "n on the home page, change your display name, and then come back to the group.");
- }, time);
- });
- var $button2 = $("<button />");
- $button2.text("TELL OFF SOME BALLS");
- $button2.click(function() {
- tagpro.group.socket.emit("chat", "IF YOU ARE A \"SOME BALL\", LEAVE THE GROUP, CLICK THE \"LOG IN\" BUTTON ON THE HOME PAGE, LOG IN, CLICK THE \"PROFILE\" BUTTO");
- setTimeout(function() {
- tagpro.group.socket.emit("chat", "N ON THE HOME PAGE, CHANGE YOUR DISPLAY NAME, AND THEN COME BACK TO THE GROUP.");
- }, time);
- });
- var $button3 = $("<button />");
- $button3.text("Tell off da some balls");
- $button3.click(function() {
- tagpro.group.socket.emit("chat", "If you is a \"Some Ball\", leave da group, click da \"Log In\" button on da home page, log in, click da \"Profile\" button");
- setTimeout(function() {
- tagpro.group.socket.emit("chat", "on da home page, change yo display name, and then come back to da group.");
- }, time);
- });
- $("#actions").append($button);
- $("#actions").append($button2);
- $("#actions").append($button3);
- }
- var source = "(" + myScript + ")()";
- var thescript = document.createElement('script');
- thescript.setAttribute("type", "application/javascript");
- thescript.textContent = source;
- document.body.appendChild(thescript);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement