bot666

MINI Bot to MPP

  1. // ==UserScript==
  2. // @name bot666
  3. // @namespace https://greasyfork.org/
  4. // @version 0.2
  5. // @description MINI Bot to MPP
  6. // @author deorema33- doomka
  7. // @icon https://mpphust.ga/assets/icon%20(48).png
  8. // @include *://multiplayerpiano.com/*
  9. // @include *://mppclone.com/*
  10. // @include *://mpp.terrium.net/*
  11. // @include*://piano.ourworldofpixels.com/*
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15.  
  16. if ((adminarray.indexOf(msg.p._id) > - 1) || (msg.p._id == MPP.client.getOwnParticipant()._id)) { // Admin command.
  17. if (cmd == "/name1") {
  18. MPP.client.sendArray([{m: "userset", set: {
  19. name: "ADMIN BOT 666 Bot. [ /info ]",
  20. color: "#ff5c5c"
  21. }
  22. }])
  23. }
  24. }
  25. if ((adminarray.indexOf(msg.p._id) > - 1) || (msg.p._id == MPP.client.getOwnParticipant()._id)) { // Admin command.
  26. if (cmd == "/BSoD") {
  27. MPP.client.sendArray([{m: "userset", set: {
  28. name: "BSoD",
  29. color: "#0033ff"
  30. }
  31. }])
  32. }
  33. }
  34. // Buy... commands.
  35. if (cmd == "/666") {
  36. MPP.chat.send(msg.p.name + " 666: " + msg.a.substring(5).trim() + ". " + words[random])
  37. }
  38. if (cmd == "/kill") {
  39. MPP.chat.send(msg.p.name + " death: " + msg.a.substring(5).trim() + ".")
  40. }
  41. if (cmd == "/000") {
  42. MPP.ban.send(msg.p.name + " banned: " + msg.a.substring(5).trim() + ".")
  43. }
  44. if (cmd == "/say") {
  45. MPP.chat.send("say: " + "[" + msg.a.substring(6).trim() + "].")
  46. }