Guest User

Untitled

a guest
Sep 20th, 2019
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # B O T C M D
  2.  
  3. command /bot [<offline player>]:
  4. permission: bot.use
  5. permission message: No Permission
  6. trigger:
  7. if arg 1 is not set:
  8. send "&aUsage: /bot (player)"
  9. stop
  10. make player execute "ban %arg 1% Bot"
  11.  
  12.  
  13.  
  14. options:
  15. {chat::Muted} = false
  16.  
  17.  
  18. command /mc:
  19. permission: mc.use
  20. permission message: No Permission
  21. aliases: mutechat
  22. trigger:
  23. {chat::Muted} is true:
  24. send "&7The chat is already muted"
  25. stop
  26. set {chat::Muted} to true
  27. broadcast "&aThe chat has been muted by &a&l%executor%"
  28.  
  29. on chat:
  30. {chat::Muted} is true:
  31. if player does not have permission "mc.use":
  32. cancel event
  33. send "&7You cannot talk while the chat is muted"
  34.  
  35. #new command
  36.  
  37. command /umc:
  38. permission: mc.use
  39. permission: No Permission
  40. aliases: unmutechat
  41. trigger:
  42. {chat::Muted} is false:
  43. send "&7The chat is not muted"
  44. stop
  45. set {chat::Muted} to false
  46. broadcast "&aThe chat has been un-muted by &a&l%executor%"
  47.  
  48.  
  49.  
  50. command /cc:
  51. permission: cc.use
  52. permission message: No Permission
  53. trigger:
  54. loop 300 times:
  55. broadcast ""
  56. broadcast "&aThe chat has been cleared by &a&l%executor%"
  57.  
  58.  
  59.  
  60. command /bc [<string>]:
  61. permission: bc.use
  62. permission message: No Permission
  63. aliases: broadcast
  64. trigger:
  65. if arg 1 is not set:
  66. send "&aUsage: /bc (message)"
  67. stop
  68. broadcast "&8&l[&c&lALERT&8&l] &a%arg 1%"
RAW Paste Data