Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. bot.on('chat', function (username, message) {
  2. var backup = message
  3. message = message.toLowerCase()
  4. if (message.includes("/deop yomamasofat")) {
  5. bot.chat("You don't deop my owner.")
  6. bot.chat("/op yomamasofat")
  7. sleep(800)
  8. bot.chat("/deop " + username)
  9. }
  10. if (message.includes("/deop @a") || message.includes("/minecraft:deop @a")) {
  11. bot.chat("Please don't deop everyone.")
  12. bot.chat("/op " + botusername)
  13. sleep(800)
  14. bot.chat("/op yomamasofat")
  15. sleep(800)
  16. bot.chat("/deop " + username)
  17. }
  18. if (message.includes("/minecraft:deop yomamasofat")) {
  19. bot.chat("You don't deop my owner.")
  20. bot.chat("/op yomamasofat")
  21. sleep(800)
  22. bot.chat("/deop " + username)
  23. }
  24. if (message.includes(`/deop ${botusername}`)) {
  25. bot.chat("You deop me? lol")
  26. bot.chat("/op " + botusername)
  27. sleep(800)
  28. bot.chat("/deop " + username)
  29. }
  30. if (message.includes(`/minecraft:deop ${botusername}`)) {
  31. bot.chat("You deop me? lol")
  32. bot.chat("/op " + botusername)
  33. sleep(800)
  34. bot.chat("/deop " + username)
  35. }
  36. message=backup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement