Bot-Alex 3

mini bot MPP

  1. // ==UserScript==
  2. // @name Bot-Alex 3
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.3
  5. // @description mini bot MPP
  6. // @author Alex-Bot
  7. // @match *https://multiplayerpiano.net/?c*
  8. // @match *https://mpp.hyye.xyz/?c*
  9. // @license MIT
  10. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. MPP.client.on('a', function(msg) {
  15. let cmd = msg.a;
  16.  
  17. if (cmd == ',help') {
  18. MPP.chat.send('Commands: ,help - ,about - ,myColor - ,myId')
  19. MPP.chat.send('Fun: ,UwU - ,OwO - ,123 - ,random')
  20. }
  21. if (cmd == ',myColor') {
  22. MPP.chat.send(msg.p.color + 'Your color')
  23. }
  24. if (cmd == ',myId') {
  25. MPP.chat.send(msg.p.name + 'Your ID')
  26. }
  27. if (cmd == ',random') {
  28. var words = ['BRUH =) ' , 'New year!' , 'XTO YA?']; var random = Math.floor(Math.random() * words.length)
  29. MPP.chat.send('' + words[random]);
  30. }
  31. if (cmd == ',UwU') {
  32. MPP.chat.send('OwO')
  33. }
  34. if (cmd == ',OwO') {
  35. MPP.chat.send('UwU')
  36. }
  37. if (cmd == ',123') {
  38. MPP.chat.send('456')
  39. }
  40. if (cmd == ',about') {
  41. MPP.chat.send('Data: 10.11.2023')
  42. MPP.chat.send('About: Bot-Alex')
  43. }
  44. })